diff options
author | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2019-04-26 16:28:16 +1000 |
---|---|---|
committer | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2019-04-26 16:28:16 +1000 |
commit | 915cb904401ec3b67180baa02910efcaaf21370e (patch) | |
tree | 8d13cc10af252e091abd4a62b7280c37c75fcfab /src/Java/gtPlusPlus/core/util/math | |
parent | f20f36779767e4318ad12b9bc464f1f8010eb42b (diff) | |
download | GT5-Unofficial-915cb904401ec3b67180baa02910efcaaf21370e.tar.gz GT5-Unofficial-915cb904401ec3b67180baa02910efcaaf21370e.tar.bz2 GT5-Unofficial-915cb904401ec3b67180baa02910efcaaf21370e.zip |
+ Added some Items specifically for running Digital Tree Farms.
+ Added some Common Energy Utility Classes.
+ Added ASM to fix handling of hatch slots for busses. (Partial implementation)
Diffstat (limited to 'src/Java/gtPlusPlus/core/util/math')
-rw-r--r-- | src/Java/gtPlusPlus/core/util/math/MathUtils.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Java/gtPlusPlus/core/util/math/MathUtils.java b/src/Java/gtPlusPlus/core/util/math/MathUtils.java index 4ba9d54271..3cef3c511f 100644 --- a/src/Java/gtPlusPlus/core/util/math/MathUtils.java +++ b/src/Java/gtPlusPlus/core/util/math/MathUtils.java @@ -692,8 +692,8 @@ public class MathUtils { return Math.max(Math.min(aInput, aMax), aMin); } - public static int getValueWithinRange(byte aInput, int aMin, int aMax) { - int aAmount = Math.max(Math.min(aInput, aMax), aMin); + public static int getValueWithinRange(int i, int aMin, int aMax) { + int aAmount = Math.max(Math.min(i, aMax), aMin); return aAmount; } |