try to fix the fix

This commit is contained in:
PrototypeTrousers
2023-02-18 23:11:43 -03:00
parent 5d7f552643
commit 13af30f657
4 changed files with 10 additions and 4 deletions
@@ -134,7 +134,9 @@ public class ContainerWirelessPatternTerminal extends ContainerPatternEncoder im
if (currentItem.isEmpty()) {
this.setValidContainer(false);
} else if (!this.wirelessTerminalGUIObject.getItemStack().isEmpty() && currentItem != this.wirelessTerminalGUIObject.getItemStack()) {
this.setValidContainer(false);
if (!ItemStack.areItemsEqual(this.wirelessTerminalGUIObject.getItemStack(), currentItem)) {
this.setValidContainer(false);
}
}
// drain 1 ae t