From 228489dded720cea566dd0a4638b39cba2aff5ec Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 16 Feb 2025 17:10:04 +0000 Subject: use MinecraftEntityId type instead of u32 in az-protocol --- azalea-protocol/src/packets/game/c_entity_position_sync.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'azalea-protocol/src/packets/game/c_entity_position_sync.rs') diff --git a/azalea-protocol/src/packets/game/c_entity_position_sync.rs b/azalea-protocol/src/packets/game/c_entity_position_sync.rs index 0e8bea01..e3ecc3f0 100755 --- a/azalea-protocol/src/packets/game/c_entity_position_sync.rs +++ b/azalea-protocol/src/packets/game/c_entity_position_sync.rs @@ -1,12 +1,13 @@ use azalea_buf::AzBuf; use azalea_protocol_macros::ClientboundGamePacket; +use azalea_world::MinecraftEntityId; use crate::common::movements::PositionMoveRotation; #[derive(Clone, Debug, AzBuf, ClientboundGamePacket)] pub struct ClientboundEntityPositionSync { #[var] - pub id: u32, + pub id: MinecraftEntityId, pub values: PositionMoveRotation, pub on_ground: bool, } -- cgit v1.2.3