1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 06:16:04 +00:00

use HashedStack for ServerboundContainerClick::carried_item too

This commit is contained in:
mat 2025-03-29 23:20:26 +00:00
parent 55ed46d081
commit 097ebb3705

View file

@ -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