More progress on the still.

This commit is contained in:
cp committed 2014-03-27 13:09:40 +08:00
1 parent 66544c83f8
commit 51865af400
22 files changed
+401 -145

No files matched your search

@@ -395,6 +395,10 @@ public abstract class AbstractMachineEntity extends TileEntityEio implements IIn
}
private void updateCapacitorFromSlot() {
if(slotDefinition.getNumUpgradeSlots() <= 0) {
setCapacitor(Capacitors.BASIC_CAPACITOR);
return;
}
ItemStack contents = inventory[slotDefinition.minUpgradeSlot];
if(contents == null || contents.getItem() != EnderIO.itemBasicCapacitor) {
setCapacitor(Capacitors.BASIC_CAPACITOR);