diff options
author | Glease <4586901+Glease@users.noreply.github.com> | 2021-06-04 20:52:19 +0800 |
---|---|---|
committer | Glease <4586901+Glease@users.noreply.github.com> | 2021-06-04 20:52:19 +0800 |
commit | f84a67fe952db6770401d9b7a77252a96f14b438 (patch) | |
tree | 42d4503e719ce17a54a3ff282b0ed84d3a9ea2fc /src/main/java | |
parent | f6509ebc186be88568cb2d7ea01f29cc1a26d645 (diff) | |
download | GT5-Unofficial-f84a67fe952db6770401d9b7a77252a96f14b438.tar.gz GT5-Unofficial-f84a67fe952db6770401d9b7a77252a96f14b438.tar.bz2 GT5-Unofficial-f84a67fe952db6770401d9b7a77252a96f14b438.zip |
move the comment to where it belongs
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/gregtech/common/tileentities/boilers/GT_MetaTileEntity_Boiler_Solar.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/gregtech/common/tileentities/boilers/GT_MetaTileEntity_Boiler_Solar.java b/src/main/java/gregtech/common/tileentities/boilers/GT_MetaTileEntity_Boiler_Solar.java index c32bf98476..59f84ebd91 100644 --- a/src/main/java/gregtech/common/tileentities/boilers/GT_MetaTileEntity_Boiler_Solar.java +++ b/src/main/java/gregtech/common/tileentities/boilers/GT_MetaTileEntity_Boiler_Solar.java @@ -282,6 +282,7 @@ public class GT_MetaTileEntity_Boiler_Solar extends GT_MetaTileEntity_Boiler { minOutputPerSecond = get(aCategory,"MinOutputPerSecond", aDefaultMinOutputPerSecond); maxOutputPerSecond = get(aCategory,"MaxOutputPerSecond", aDefaultMaxOutputPerSecond); coolDownTicks = get(aCategory,"CoolDownTicks", aDefaultCoolDownTicks, "Number of ticks it takes to lose 1°C."); + // After which min output is reached. maxRuntimeTicks = (getMaxOutputPerSecond() - getMinOutputPerSecond()) * getCalcificationTicks() / getMaxOutputPerSecond() + getCalcificationTicks(); } @@ -309,9 +310,6 @@ public class GT_MetaTileEntity_Boiler_Solar extends GT_MetaTileEntity_Boiler { return coolDownTicks; } - /** - * After which min output is reached. - */ public int getMaxRuntimeTicks() { return maxRuntimeTicks; } |