diff options
author | joegnis <joegnis.yifan@gmail.com> | 2024-09-04 06:53:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-04 10:53:16 +0000 |
commit | ebefc70b6d41c19c61fc21f548a942a0331f7fb6 (patch) | |
tree | b73c6844fcc8a652c83fb61c8512fa3e87cc1d0a /src/main/java/tectech/util | |
parent | ead1385464310f4fddda2c5566d541c187d659fc (diff) | |
download | GT5-Unofficial-ebefc70b6d41c19c61fc21f548a942a0331f7fb6.tar.gz GT5-Unofficial-ebefc70b6d41c19c61fc21f548a942a0331f7fb6.tar.bz2 GT5-Unofficial-ebefc70b6d41c19c61fc21f548a942a0331f7fb6.zip |
Fixes #17207 (#3041)
Changed methods in OverclockCalculator:
- setEUtDiscount
- setSpeedBoost
- setHeatDiscountMultiplier
Most of other changes are directly related to them.
Adds a unit test.
Co-authored-by: boubou19 <miisterunknown@gmail.com>
Diffstat (limited to 'src/main/java/tectech/util')
-rw-r--r-- | src/main/java/tectech/util/GodforgeMath.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/tectech/util/GodforgeMath.java b/src/main/java/tectech/util/GodforgeMath.java index a03dce248a..c11a71be02 100644 --- a/src/main/java/tectech/util/GodforgeMath.java +++ b/src/main/java/tectech/util/GodforgeMath.java @@ -117,7 +117,7 @@ public class GodforgeMath { } } - module.setSpeedBonus((float) speedBonus); + module.setSpeedBonus(speedBonus); } public static void calculateMaxParallelForModules(MTEBaseModule module, MTEForgeOfGods godforge) { |