diff options
author | Draknyte1 <Draknyte1@hotmail.com> | 2017-08-13 10:14:40 +1000 |
---|---|---|
committer | Draknyte1 <Draknyte1@hotmail.com> | 2017-08-13 10:14:40 +1000 |
commit | b3f02e8575a46f1992f5f16b17f38499bb49481c (patch) | |
tree | efdd97501b14de8f6d1b0cfcc9afbcaae1d4a60e /src/Java/gtPlusPlus/xmod/gregtech/common | |
parent | 3fe7780352f03bcbbdfe6af7d23a40f383b90c68 (diff) | |
download | GT5-Unofficial-b3f02e8575a46f1992f5f16b17f38499bb49481c.tar.gz GT5-Unofficial-b3f02e8575a46f1992f5f16b17f38499bb49481c.tar.bz2 GT5-Unofficial-b3f02e8575a46f1992f5f16b17f38499bb49481c.zip |
$ Fixed Thermal Boiler not consuming and producing fluids at the correct rate.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/common')
-rw-r--r-- | src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GT4Entity_ThermalBoiler.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GT4Entity_ThermalBoiler.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GT4Entity_ThermalBoiler.java index fb177db292..b1b1b7cc6f 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GT4Entity_ThermalBoiler.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GT4Entity_ThermalBoiler.java @@ -108,7 +108,9 @@ extends GT_MetaTileEntity_MultiBlockBase @Override public boolean onRunningTick(ItemStack aStack) { if (this.mEUt > 0) { - if(this.mSuperEfficencyIncrease>0)this.mEfficiency = Math.min(10000, this.mEfficiency + this.mSuperEfficencyIncrease); + if(this.mSuperEfficencyIncrease>0){ + this.mEfficiency = Math.min(10000, this.mEfficiency + this.mSuperEfficencyIncrease); + } int tGeneratedEU = (int) (this.mEUt * 2L * this.mEfficiency / 10000L); if (tGeneratedEU > 0) { long amount = (tGeneratedEU + 160) / 160; @@ -124,7 +126,7 @@ extends GT_MetaTileEntity_MultiBlockBase } public int getEUt() { - return 600; + return 400; } public int getEfficiencyIncrease() { |