Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ public MinecraftPacket packet() {
return null; // can't swap if mouse stack is not empty
}
final ItemStack clickStack = container.getItemStack(slotId);
if (isStackEmpty(clickStack)) {
CLIENT_LOG.debug("{} Can't swap empty stack", this);
return null; // can't swap if clickStack is empty
}
Int2ObjectMap<ItemStack> changedSlots = new Int2ObjectArrayMap<>();
int hotBarSlot = -1;
boolean playerInv = containerId == 0;
Expand Down