mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-06 00:17:58 +01:00
Remove count field in WindowItemsPacket
This commit is contained in:
parent
6e6bb35799
commit
b4f1679e42
@ -231,7 +231,6 @@ public class Inventory implements InventoryModifier, InventoryClickHandler, View
|
||||
private WindowItemsPacket createWindowItemsPacket() {
|
||||
WindowItemsPacket windowItemsPacket = new WindowItemsPacket();
|
||||
windowItemsPacket.windowId = getWindowId();
|
||||
windowItemsPacket.count = (short) getSize();
|
||||
windowItemsPacket.items = getItemStacks();
|
||||
return windowItemsPacket;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user