mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-21 12:42:36 +00:00
Merge pull request #2368 from MatthiasMann/remove_redundant_code
remove redundant code - SlotSmelter.isItemValid already returns false
This commit is contained in:
commit
0af8f791f8
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