From e268c4929177e540baa9d2bb29bc171f49cc7a25 Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 19 Dec 2024 02:31:08 +0000 Subject: fix incorrect packets --- azalea-protocol/src/packets/game/s_container_button_click.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'azalea-protocol/src/packets/game/s_container_button_click.rs') diff --git a/azalea-protocol/src/packets/game/s_container_button_click.rs b/azalea-protocol/src/packets/game/s_container_button_click.rs index 909772f3..7a27e190 100755 --- a/azalea-protocol/src/packets/game/s_container_button_click.rs +++ b/azalea-protocol/src/packets/game/s_container_button_click.rs @@ -3,6 +3,8 @@ use azalea_protocol_macros::ServerboundGamePacket; #[derive(Clone, Debug, AzBuf, ServerboundGamePacket)] pub struct ServerboundContainerButtonClick { - pub container_id: u8, - pub button_id: u8, + #[var] + pub container_id: i32, + #[var] + pub button_id: u32, } -- cgit v1.2.3