Iron Engine Fix, removed the iron engine explosion options
This commit is contained in:
parent
1ca0d48e31
commit
739ef3e450
1 changed files with 9 additions and 6 deletions
|
@ -140,6 +140,8 @@ public class EngineIron extends Engine {
|
|||
int extraHeat = heat - COOLANT_THRESHOLD;
|
||||
|
||||
IronEngineCoolant currentCoolant = IronEngineCoolant.getCoolantForLiquid(new LiquidStack(coolantId, coolantQty, 0));
|
||||
if (currentCoolant != null)
|
||||
{
|
||||
if(coolantQty * currentCoolant.coolingPerUnit > extraHeat) {
|
||||
coolantQty -= Math.round(extraHeat / currentCoolant.coolingPerUnit);
|
||||
heat = COOLANT_THRESHOLD;
|
||||
|
@ -148,6 +150,7 @@ public class EngineIron extends Engine {
|
|||
coolantQty = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (heat > 0 && (penaltyCooling > 0 || !tile.isRedstonePowered)) {
|
||||
heat -= 10;
|
||||
|
|
Loading…
Reference in a new issue