mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-23 21:49:58 +00:00
Started on machines.
This commit is contained in:
1 parent
c0bef5cc24
commit
fcf5fdf417
28 files changed
+458
-567
No files matched your search
@@ -130,7 +130,7 @@ public abstract class AbstractMachineContainer extends Container {
|
||||
slot = (Slot) this.inventorySlots.get(checkIndex);
|
||||
itemstack1 = slot.getStack();
|
||||
|
||||
if(itemstack1 != null && itemstack1.itemID == par1ItemStack.itemID
|
||||
if(itemstack1 != null && itemstack1.getItem() == par1ItemStack.getItem()
|
||||
&& (!par1ItemStack.getHasSubtypes() || par1ItemStack.getItemDamage() == itemstack1.getItemDamage())
|
||||
&& ItemStack.areItemStackTagsEqual(par1ItemStack, itemstack1)
|
||||
&& slot.isItemValid(par1ItemStack)) {
|
||||
|
||||
Reference in new issue
Block a user