diff --git a/protocol/src/version/v1_14_4/game.rs b/protocol/src/version/v1_14_4/game.rs index 1ebf584..ee9ac40 100644 --- a/protocol/src/version/v1_14_4/game.rs +++ b/protocol/src/version/v1_14_4/game.rs @@ -55,11 +55,11 @@ impl GameServerBoundPacket { impl GameClientBoundPacket { pub fn get_type_id(&self) -> u8 { match self { - GameClientBoundPacket::ClientBoundChatMessage(_) => 0x0E, + GameClientBoundPacket::ClientBoundChatMessage(_) => 0x0F, GameClientBoundPacket::GameDisconnect(_) => 0x1A, GameClientBoundPacket::ClientBoundKeepAlive(_) => 0x20, GameClientBoundPacket::ChunkData(_) => 0x21, - GameClientBoundPacket::JoinGame(_) => 0x25, + GameClientBoundPacket::JoinGame(_) => 0x26, GameClientBoundPacket::BossBar(_) => 0x0D, GameClientBoundPacket::EntityAction(_) => 0x1B, } @@ -738,9 +738,9 @@ trait_packet_id!(ServerBoundChatMessage, 0x03); trait_packet_id!(ServerBoundKeepAlive, 0x0F); trait_packet_id!(ServerBoundAbilities, 0x19); -trait_packet_id!(ClientBoundChatMessage, 0x0E); +trait_packet_id!(ClientBoundChatMessage, 0x0F); trait_packet_id!(GameDisconnect, 0x1A); -trait_packet_id!(ClientBoundKeepAlive, 0x20); +trait_packet_id!(ClientBoundKeepAlive, 0x21); trait_packet_id!(ChunkData, 0x21); trait_packet_id!(JoinGame, 0x25); trait_packet_id!(BossBar, 0x0D); diff --git a/protocol/src/version/v1_17_1/game.rs b/protocol/src/version/v1_17_1/game.rs index e052c37..bc1316b 100644 --- a/protocol/src/version/v1_17_1/game.rs +++ b/protocol/src/version/v1_17_1/game.rs @@ -303,7 +303,7 @@ trait_packet_id!(ServerBoundPluginMessage, 0x0A); trait_packet_id!(ClientBoundPluginMessage, 0x18); trait_packet_id!(NamedSoundEffect, 0x19); -trait_packet_id!(JoinGame, 0x25); +trait_packet_id!(JoinGame, 0x26); trait_packet_id!(PlayerPositionAndLook, 0x38); trait_packet_id!(Respawn, 0x3D); trait_packet_id!(SpawnPosition, 0x4B);