From 405a00c0d1908a4b3fbd8e6684c77dfb178ac55d Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 19 Jun 2022 13:54:43 -0500 Subject: Fix ClientboundLevelParticlesPacket The particle id is a varint --- azalea-protocol/src/packets/game/clientbound_entity_event_packet.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'azalea-protocol/src/packets/game/clientbound_entity_event_packet.rs') diff --git a/azalea-protocol/src/packets/game/clientbound_entity_event_packet.rs b/azalea-protocol/src/packets/game/clientbound_entity_event_packet.rs index 1b06bff7..d0cc7222 100644 --- a/azalea-protocol/src/packets/game/clientbound_entity_event_packet.rs +++ b/azalea-protocol/src/packets/game/clientbound_entity_event_packet.rs @@ -3,6 +3,6 @@ use packet_macros::{GamePacket, McBuf}; // we can't identify the status in azalea-protocol since they vary depending on the entity #[derive(Clone, Debug, McBuf, GamePacket)] pub struct ClientboundEntityEventPacket { - pub entity_id: i32, - pub entity_status: i8, + pub entity_id: u32, + pub event_id: u8, } -- cgit v1.2.3