Decrease speed of by 3 ticks electrical furnace when using 4 overclockers

This commit is contained in:
modmuss50 2018-06-05 21:57:04 +01:00
parent 6cd98727a8
commit cbc302ff48
No known key found for this signature in database
GPG key ID: 773D17BE8BF49C82

View file

@ -155,7 +155,7 @@ public class TileElectricFurnace extends TilePowerAcceptor
if (canUseEnergy(getEuPerTick(this.cost))) {
this.useEnergy(getEuPerTick(this.cost));
this.progress++;
if (this.progress >= Math.max((int) (fuelScale * (1.0 - getSpeedMultiplier())), 2)) {
if (this.progress >= Math.max((int) (fuelScale * (1.0 - getSpeedMultiplier())), 5)) {
this.progress = 0;
this.cookItems();
updateInventory = true;