remove redundant code - SlotSmelter.isItemValid already returns false

This commit is contained in:
Matthias Mann committed 2015-04-25 23:20:07 +02:00
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));
}