aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/clientbound_entity_event_packet.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-06-19 13:54:43 -0500
committermat <github@matdoes.dev>2022-06-19 13:54:43 -0500
commit405a00c0d1908a4b3fbd8e6684c77dfb178ac55d (patch)
tree5ee6b8d5611d83d0887f3d07e9381ecdfc59ca34 /azalea-protocol/src/packets/game/clientbound_entity_event_packet.rs
parentfcdb6d31eeb93887caae104724b230196a0fc5bc (diff)
downloadazalea-drasl-405a00c0d1908a4b3fbd8e6684c77dfb178ac55d.tar.xz
Fix ClientboundLevelParticlesPacket
The particle id is a varint
Diffstat (limited to 'azalea-protocol/src/packets/game/clientbound_entity_event_packet.rs')
-rw-r--r--azalea-protocol/src/packets/game/clientbound_entity_event_packet.rs4
1 files changed, 2 insertions, 2 deletions
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,
}