commit
ffdf2f06a1
1 changed files with 5 additions and 0 deletions
|
@ -256,6 +256,11 @@ public class TileEngineIron extends TileEngineWithInventory implements IFluidHan
|
||||||
if (currentCoolant != null) {
|
if (currentCoolant != null) {
|
||||||
float cooling = currentCoolant.getDegreesCoolingPerMB(heat);
|
float cooling = currentCoolant.getDegreesCoolingPerMB(heat);
|
||||||
cooling /= getBiomeTempScalar();
|
cooling /= getBiomeTempScalar();
|
||||||
|
|
||||||
|
if (cooling > extraHeat) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (coolantAmount * cooling > extraHeat) {
|
if (coolantAmount * cooling > extraHeat) {
|
||||||
tankCoolant.drain(Math.round(extraHeat / cooling), true);
|
tankCoolant.drain(Math.round(extraHeat / cooling), true);
|
||||||
heat -= extraHeat;
|
heat -= extraHeat;
|
||||||
|
|
Loading…
Reference in a new issue