Skip to content

Commit

Permalink
remove reklama
Browse files Browse the repository at this point in the history
  • Loading branch information
MeexReay committed Aug 23, 2024
1 parent d39ee60 commit 66c17dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ fn read_status_response(conn: &mut MCConnTcp) -> Result<String, ProtocolError> {
}

fn main() {
let mut conn = MCConnTcp::connect("sloganmc.ru:25565").unwrap();
let mut conn = MCConnTcp::connect("mc.hypixel.net:25565").unwrap();

send_handshake(&mut conn, 765, "sloganmc.ru", 25565, 1).unwrap();
send_handshake(&mut conn, 765, "mc.hypixel.net", 25565, 1).unwrap();
send_status_request(&mut conn).unwrap();

let motd = read_status_response(&mut conn).unwrap();
Expand Down
4 changes: 2 additions & 2 deletions examples/recv_motd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ fn read_status_response(conn: &mut MCConnTcp) -> Result<String, ProtocolError> {
}

fn main() {
let mut conn = MCConnTcp::connect("sloganmc.ru:25565").unwrap();
let mut conn = MCConnTcp::connect("mc.hypixel.net:25565").unwrap();

send_handshake(&mut conn, 765, "sloganmc.ru", 25565, 1).unwrap();
send_handshake(&mut conn, 765, "mc.hypixel.net", 25565, 1).unwrap();
send_status_request(&mut conn).unwrap();

let motd = read_status_response(&mut conn).unwrap();
Expand Down

0 comments on commit 66c17dd

Please sign in to comment.