From b4f1679e42dc3dca42aa551f2546852b1cdc6349 Mon Sep 17 00:00:00 2001 From: Felix Cravic Date: Wed, 1 Jul 2020 23:10:45 +0200 Subject: [PATCH] Remove count field in WindowItemsPacket --- src/main/java/net/minestom/server/inventory/Inventory.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/net/minestom/server/inventory/Inventory.java b/src/main/java/net/minestom/server/inventory/Inventory.java index 4a710b883..8647e2d27 100644 --- a/src/main/java/net/minestom/server/inventory/Inventory.java +++ b/src/main/java/net/minestom/server/inventory/Inventory.java @@ -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; }