Remove count field in WindowItemsPacket

This commit is contained in:
Felix Cravic 2020-07-01 23:10:45 +02:00
parent 6e6bb35799
commit b4f1679e42

View File

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