aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpacebuilder2020 <spacebuilder2020@users.noreply.github.com>2024-11-03 11:12:51 -0700
committerGitHub <noreply@github.com>2024-11-03 18:12:51 +0000
commitf905da4c3bf9cdd2614b2ea0062203859a646af1 (patch)
tree5e15d98ea1f4c79657f2e4405fe1a92c71b556b8
parent3f84e9e8d1ec230cb7f7accc9116246a53797080 (diff)
downloadGT5-Unofficial-f905da4c3bf9cdd2614b2ea0062203859a646af1.tar.gz
GT5-Unofficial-f905da4c3bf9cdd2614b2ea0062203859a646af1.tar.bz2
GT5-Unofficial-f905da4c3bf9cdd2614b2ea0062203859a646af1.zip
Add an overflow fix that was missing from #3332. (#3416)
Co-authored-by: Maya <10861407+serenibyss@users.noreply.github.com>
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/multi/MTELargeBoiler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/MTELargeBoiler.java b/src/main/java/gregtech/common/tileentities/machines/multi/MTELargeBoiler.java
index fdda78122b..4c310eb2f8 100644
--- a/src/main/java/gregtech/common/tileentities/machines/multi/MTELargeBoiler.java
+++ b/src/main/java/gregtech/common/tileentities/machines/multi/MTELargeBoiler.java
@@ -333,9 +333,9 @@ public abstract class MTELargeBoiler extends MTEEnhancedMultiBlockBase<MTELargeB
this.excessFuel += GTModHandler.getFuelValue(tInput) % 80;
this.mMaxProgresstime += this.excessFuel / 80;
this.excessFuel %= 80;
+ this.mEfficiencyIncrease = this.mMaxProgresstime * getEfficiencyIncrease();
this.mMaxProgresstime = adjustBurnTimeForConfig(runtimeBoost(this.mMaxProgresstime));
this.mEUt = adjustEUtForConfig(getEUt());
- this.mEfficiencyIncrease = this.mMaxProgresstime * getEfficiencyIncrease();
this.mOutputItems = new ItemStack[] { GTUtility.getContainerItem(tInput, true) };
tInput.stackSize -= 1;
updateSlots();