Fix lobby error due to invalid packet IDs
This commit is contained in:
parent
6321999489
commit
ec24f088b2
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -685,7 +685,7 @@ checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a"
|
||||
[[package]]
|
||||
name = "minecraft-protocol"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/timvisee/rust-minecraft-protocol?rev=4e6a1f9#4e6a1f93807f35671943630c9bdc0d0c5da67eb8"
|
||||
source = "git+https://github.com/timvisee/rust-minecraft-protocol?rev=a14b40e#a14b40ea9d9a9ed54a6f6546b6d19bc0db1b6c8c"
|
||||
dependencies = [
|
||||
"byteorder",
|
||||
"minecraft-protocol-derive",
|
||||
@ -698,7 +698,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "minecraft-protocol-derive"
|
||||
version = "0.0.0"
|
||||
source = "git+https://github.com/timvisee/rust-minecraft-protocol?rev=4e6a1f9#4e6a1f93807f35671943630c9bdc0d0c5da67eb8"
|
||||
source = "git+https://github.com/timvisee/rust-minecraft-protocol?rev=a14b40e#a14b40ea9d9a9ed54a6f6546b6d19bc0db1b6c8c"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
|
@ -40,7 +40,7 @@ dotenv = "0.15"
|
||||
flate2 = { version = "1.0", default-features = false, features = ["default"] }
|
||||
futures = { version = "0.3", default-features = false }
|
||||
log = "0.4"
|
||||
minecraft-protocol = { git = "https://github.com/timvisee/rust-minecraft-protocol", rev = "4e6a1f9" }
|
||||
minecraft-protocol = { git = "https://github.com/timvisee/rust-minecraft-protocol", rev = "a14b40e" }
|
||||
pretty_env_logger = "0.4"
|
||||
rand = "0.8"
|
||||
serde = "1.0"
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user