Fix for fix #1971- Accounted for <= 64 stacks thus not in stored stack
This commit is contained in:
parent
eb9abe4c74
commit
f2138e034f
1 changed files with 1 additions and 1 deletions
|
@ -384,7 +384,7 @@ public class StorageUnitBaseBlockEntity extends MachineBaseBlockEntity
|
|||
|
||||
@Override
|
||||
public boolean isValidInvStack(int slot, ItemStack stack) {
|
||||
if (slot == INPUT_SLOT && !storeItemStack.isEmpty() && !ItemUtils.isItemEqual(stack, storeItemStack, true, false)) {
|
||||
if (slot == INPUT_SLOT && !(isEmpty() || isSameType(stack))) {
|
||||
return false;
|
||||
}
|
||||
return super.isValidInvStack(slot, stack);
|
||||
|
|
Loading…
Reference in a new issue