aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-03-29 23:20:26 +0000
committermat <git@matdoes.dev>2025-03-29 23:20:26 +0000
commit097ebb3705c00c30f683dd98bf01c6ba0ccf40aa (patch)
treea062c28968de25d2860b8a19c1d5bdc05b18479a
parent55ed46d081a9843e4b0ded27cadc10876d367356 (diff)
downloadazalea-drasl-097ebb3705c00c30f683dd98bf01c6ba0ccf40aa.tar.xz
use HashedStack for ServerboundContainerClick::carried_item too
-rwxr-xr-xazalea-protocol/src/packets/game/s_container_click.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-protocol/src/packets/game/s_container_click.rs b/azalea-protocol/src/packets/game/s_container_click.rs
index b7b70888..19085363 100755
--- a/azalea-protocol/src/packets/game/s_container_click.rs
+++ b/azalea-protocol/src/packets/game/s_container_click.rs
@@ -14,7 +14,7 @@ pub struct ServerboundContainerClick {
pub button_num: u8,
pub click_type: ClickType,
pub changed_slots: HashMap<u16, HashedStack>,
- pub carried_item: ItemStack,
+ pub carried_item: HashedStack,
}
/// Similar to an [`ItemStack`] but only carrying a CRC32 hash of the value of