diff options
author | Muramasa <haydenkilloh@gmail.com> | 2016-08-13 02:51:40 +0100 |
---|---|---|
committer | Technus <daniel112092@gmail.com> | 2016-09-22 18:40:19 +0200 |
commit | 436389d3f1d9ea12d05eb171eac80f30b6015d69 (patch) | |
tree | 568a0420a9a978c0c4a419d81b2b8c9db7455598 /src/main/java/gregtech/GT_Mod.java | |
parent | ae471ca1a821a9432e9bf34d86f2c4395a3956ca (diff) | |
download | GT5-Unofficial-436389d3f1d9ea12d05eb171eac80f30b6015d69.tar.gz GT5-Unofficial-436389d3f1d9ea12d05eb171eac80f30b6015d69.tar.bz2 GT5-Unofficial-436389d3f1d9ea12d05eb171eac80f30b6015d69.zip |
For Loop Changes
Diffstat (limited to 'src/main/java/gregtech/GT_Mod.java')
-rw-r--r-- | src/main/java/gregtech/GT_Mod.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/gregtech/GT_Mod.java b/src/main/java/gregtech/GT_Mod.java index 158738bdb3..44cd386c93 100644 --- a/src/main/java/gregtech/GT_Mod.java +++ b/src/main/java/gregtech/GT_Mod.java @@ -348,7 +348,8 @@ public class GT_Mod List<ModContainer> tModList = tLoadController.getActiveModList(); List<ModContainer> tNewModsList = new ArrayList(); ModContainer tGregTech = null; - for (short i = 0; i < tModList.size(); i = (short) (i + 1)) { + short tModList_sS= (short) tModList.size(); + for (short i = 0; i < tModList_sS; i = (short) (i + 1)) { ModContainer tMod = (ModContainer) tModList.get(i); if (tMod.getModId().equalsIgnoreCase("gregtech")) { tGregTech = tMod; |