Chisel GUI allows shift click when inventory is full, resulting in the voiding of the stack

https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/10867
This commit is contained in:
repo_alt committed 2022-07-30 18:48:38 +04:00
1 parent 90077cdea5
commit 1407b34861
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;
}
}