Fixed disappearing items
This commit is contained in:
parent
fcf33289de
commit
d6a1c9724b
1 changed files with 1 additions and 0 deletions
|
@ -188,6 +188,7 @@ public class RecipeCrafter {
|
||||||
for (int inputSlot : inputSlots) {//Uses all of the inputs
|
for (int inputSlot : inputSlots) {//Uses all of the inputs
|
||||||
if (ItemUtils.isItemEqual(input, inventory.getStackInSlot(inputSlot), true, true, true)) {
|
if (ItemUtils.isItemEqual(input, inventory.getStackInSlot(inputSlot), true, true, true)) {
|
||||||
inventory.decrStackSize(inputSlot, input.stackSize);
|
inventory.decrStackSize(inputSlot, input.stackSize);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue