diff options
author | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2018-09-01 15:10:48 +1000 |
---|---|---|
committer | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2018-09-01 15:10:48 +1000 |
commit | 9e5747fb55574e0a7dfa0251e8974d31cf500144 (patch) | |
tree | 9479e5be915cddf28b64b11b19a00ff829e66981 /src/Java/gregtech | |
parent | 64bb2d7847ddb4eb9fba868f2b27ccd2c9582a00 (diff) | |
download | GT5-Unofficial-9e5747fb55574e0a7dfa0251e8974d31cf500144.tar.gz GT5-Unofficial-9e5747fb55574e0a7dfa0251e8974d31cf500144.tar.bz2 GT5-Unofficial-9e5747fb55574e0a7dfa0251e8974d31cf500144.zip |
$ Hopefully fixed a bug where TAE would return the wrong casing IDs.
% Cleaned up and re-organised GregtechItemList.java.
Diffstat (limited to 'src/Java/gregtech')
-rw-r--r-- | src/Java/gregtech/api/enums/TAE.java | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/Java/gregtech/api/enums/TAE.java b/src/Java/gregtech/api/enums/TAE.java index 3ec018b3a1..2827704f62 100644 --- a/src/Java/gregtech/api/enums/TAE.java +++ b/src/Java/gregtech/api/enums/TAE.java @@ -90,11 +90,14 @@ public class TAE { } public static int GTPP_INDEX(int ID){ - if (gtPPLastUsedIndex >= 128) { - if (CORE.MAIN_GREGTECH_5U_EXPERIMENTAL_FORK && Utils.getGregtechSubVersion() > 30) { - return (ID); + + if (ID >= 64) { + if (gtPPLastUsedIndex >= 128) { + if (CORE.MAIN_GREGTECH_5U_EXPERIMENTAL_FORK && Utils.getGregtechSubVersion() > 30) { + return (128+ID); + } } - } + } return (64+ID); } |