This commit is contained in:
Vaern 2022-01-06 15:58:42 -08:00
parent 28666ecabd
commit 5937794baf

View File

@ -206,7 +206,7 @@ public class TileEntityReactorZirnox extends TileEntityMachineBase implements IF
this.pressure = (int) ((float)this.heat * (1.5 * this.carbonDioxide.getFill() / 16000));
if(this.heat > 0 && this.heat < maxHeat) {
if(this.water.getFill() > 0 && this.carbonDioxide.getFill() > 0) {
if(this.water.getFill() > 0 && this.carbonDioxide.getFill() > 0 && this.steam.getFill() < this.steam.getMaxFill()) {
generateSteam();
this.heat -= (int) ((float)this.heat * (Math.sqrt(this.carbonDioxide.getFill()) / 1800));
} else {