Fix lobby error due to invalid packet IDs

This commit is contained in:
timvisee
2021-11-16 18:09:34 +01:00
parent 6321999489
commit ec24f088b2
3 changed files with 8 additions and 8 deletions

View File

@@ -3,14 +3,14 @@
#![allow(unused)]
pub mod handshake {
pub const SERVER_HANDSHAKE: u8 = 0;
pub const SERVER_HANDSHAKE: u8 = 0x00;
}
pub mod status {
pub const CLIENT_STATUS: u8 = 0;
pub const CLIENT_PING: u8 = 1;
pub const SERVER_STATUS: u8 = 0;
pub const SERVER_PING: u8 = 1;
pub const CLIENT_STATUS: u8 = 0x0;
pub const CLIENT_PING: u8 = 0x01;
pub const SERVER_STATUS: u8 = 0x00;
pub const SERVER_PING: u8 = 0x01;
}
pub mod login {