Merge pull request #23 from repo-alt/feature/overflow

Chisel GUI allows shift click when inventory is full, resulting in the voiding of the stack
This commit is contained in:
boubou19 authored and GitHub committed 2022-07-30 16:55:15 +02:00
commit 37b8bf7eca
1 file changed
+1
@@ -103,6 +103,7 @@ public class ContainerChisel extends Container {
entity.inventory.setItemStack(null);
if (!this.mergeItemStack(itemstack1, InventoryChiselSelection.normalSlots + 1, InventoryChiselSelection.normalSlots + 1 + 36, false)) {
entity.inventory.setItemStack(itemstack1);
return null;
}
}