attempt to fix wireless terminals overwriting items in hand
This commit is contained in:
+1
-5
@@ -134,11 +134,7 @@ public class ContainerWirelessPatternTerminal extends ContainerPatternEncoder im
|
||||
if (currentItem.isEmpty()) {
|
||||
this.setValidContainer(false);
|
||||
} else if (!this.wirelessTerminalGUIObject.getItemStack().isEmpty() && currentItem != this.wirelessTerminalGUIObject.getItemStack()) {
|
||||
if (ItemStack.areItemsEqual(this.wirelessTerminalGUIObject.getItemStack(), currentItem)) {
|
||||
this.getPlayerInv().setInventorySlotContents(this.getPlayerInv().currentItem, this.wirelessTerminalGUIObject.getItemStack());
|
||||
} else {
|
||||
this.setValidContainer(false);
|
||||
}
|
||||
this.setValidContainer(false);
|
||||
}
|
||||
|
||||
// drain 1 ae t
|
||||
|
||||
Reference in New Issue
Block a user