diff --git a/examples/minecraft.rs b/examples/minecraft.rs index 6b9ec6e..59d34e1 100644 --- a/examples/minecraft.rs +++ b/examples/minecraft.rs @@ -2,7 +2,7 @@ use gamedig::games::mc; fn main() { - let response = mc::query("cosminperram.com", Some(26062)); //or Some(25565), None is the default protocol port (which is 25565) + let response = mc::query("localhost", None); //or Some(25565), None is the default protocol port (which is 25565) match response { Err(error) => println!("Couldn't query, error: {error}"), Ok(r) => println!("{:#?}", r)