mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-19 11:59:17 +00:00
remove redundant code - SlotSmelter.isItemValid already returns false
This commit is contained in:
1 parent
91c51f340b
commit
45de928868
1 file changed
+1
-7
@@ -41,13 +41,7 @@ public class ContainerAlloySmelter extends AbstractMachineContainer {
|
||||
return tileEntity.isItemValidForSlot(2, itemStack);
|
||||
}
|
||||
});
|
||||
addSlotToContainer(new SlotSmelter(tileEntity, 3, 79, 57) {
|
||||
@Override
|
||||
public boolean isItemValid(ItemStack par1ItemStack) {
|
||||
return false;
|
||||
}
|
||||
|
||||
});
|
||||
addSlotToContainer(new SlotSmelter(tileEntity, 3, 79, 57));
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user