This commit is contained in:
Alexdoru committed 2023-01-26 00:55:34 +01:00
1 parent 80d6d2abd8
commit c4fa3cbbfe
65 files changed
+188 -305

No files matched your search

@@ -20,7 +20,8 @@ public class SlotBehavedOnly extends Slot {
int stackL = b.getStackLimit(par1ItemStack);
if (this.inventory.getStackInSlot(this.slotNumber) != null && !this.inventory.getStackInSlot(this.slotNumber).isItemEqual(par1ItemStack)) {
if (this.inventory.getStackInSlot(this.slotNumber) != null
&& !this.inventory.getStackInSlot(this.slotNumber).isItemEqual(par1ItemStack)) {
ItemStack is = this.inventory.getStackInSlot(this.slotNumber);
return is.stackSize + par1ItemStack.stackSize <= stackL;
} else {