diff --git a/src/main/java/net/minestom/server/inventory/PlayerInventory.java b/src/main/java/net/minestom/server/inventory/PlayerInventory.java index 12acd5291..49b828868 100644 --- a/src/main/java/net/minestom/server/inventory/PlayerInventory.java +++ b/src/main/java/net/minestom/server/inventory/PlayerInventory.java @@ -253,7 +253,7 @@ public class PlayerInventory extends AbstractInventory implements EquipmentHandl final int slot = convertToPacketSlot(i); convertedSlots[slot] = itemStacks[i]; } - return new WindowItemsPacket((byte) 0, 0, convertedSlots, ItemStack.AIR); + return new WindowItemsPacket((byte) 0, 0, convertedSlots, cursorItem); } @Override