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/s_player_command.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'azalea-protocol/src/packets/game/s_player_command.rs') diff --git a/azalea-protocol/src/packets/game/s_player_command.rs b/azalea-protocol/src/packets/game/s_player_command.rs index 72a92310..f620b847 100755 --- a/azalea-protocol/src/packets/game/s_player_command.rs +++ b/azalea-protocol/src/packets/game/s_player_command.rs @@ -1,10 +1,11 @@ use azalea_buf::AzBuf; use azalea_protocol_macros::ServerboundGamePacket; +use azalea_world::MinecraftEntityId; #[derive(Clone, Debug, AzBuf, ServerboundGamePacket)] pub struct ServerboundPlayerCommand { #[var] - pub id: u32, + pub id: MinecraftEntityId, pub action: Action, #[var] pub data: u32, -- cgit v1.2.3