Recalcuation things.

This commit is contained in:
Ben Spiers committed 2015-03-21 19:44:17 +00:00
1 parent 83e41478e5
commit c323969c87
5 files changed
+21 -3

No files matched your search

@@ -219,9 +219,12 @@ public abstract class TileEntityBasicMachine<INPUT extends MachineInput<INPUT>,
{
case SPEED:
ticksRequired = MekanismUtils.getTicks(this, BASE_TICKS_REQUIRED);
case ENERGY: //and SPEED fall-through.
energyPerTick = MekanismUtils.getEnergyPerTick(this, BASE_ENERGY_PER_TICK);
break;
case ENERGY:
energyPerTick = MekanismUtils.getEnergyPerTick(this, BASE_ENERGY_PER_TICK);
maxEnergy = MekanismUtils.getMaxEnergy(this, BASE_MAX_ENERGY);
break;
default:
break;
}