Fix CompactingInventoryHandler item validation function
This commit is contained in:
parent
2acf344f95
commit
4f449a8a37
|
@ -129,7 +129,7 @@ public abstract class CompactingInventoryHandler implements IItemHandler, INBTSe
|
|||
|
||||
@Override
|
||||
public boolean isItemValid(int slot, @Nonnull ItemStack stack) {
|
||||
return isSetup() && slot < 3 && stack.isEmpty();
|
||||
return isSetup() && slot < 3 && !stack.isEmpty();
|
||||
}
|
||||
|
||||
private boolean isValid(int slot, @Nonnull ItemStack stack){
|
||||
|
|
Loading…
Reference in New Issue
Block a user