Fixed electrical furnace not using the correct amount of power when overclocked
This commit is contained in:
parent
d50b3daf6e
commit
7deb407d0a
1 changed files with 2 additions and 2 deletions
|
@ -149,8 +149,8 @@ public class TileElectricFurnace extends TilePowerAcceptor
|
|||
boolean updateInventory = false;
|
||||
if (this.isBurning() && this.canSmelt()) {
|
||||
this.updateState();
|
||||
if (canUseEnergy(this.cost)) {
|
||||
this.useEnergy(this.cost);
|
||||
if (canUseEnergy(getEuPerTick(this.cost))) {
|
||||
this.useEnergy(getEuPerTick(this.cost));
|
||||
this.progress++;
|
||||
if (this.progress >= Math.max((int) (fuelScale * (1.0 - getSpeedMultiplier())), 2)) {
|
||||
this.progress = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue