diff options
| author | LOKKO12 <33183715+LOKKO12@users.noreply.github.com> | 2018-01-30 14:16:44 +0100 |
|---|---|---|
| committer | LOKKO12 <33183715+LOKKO12@users.noreply.github.com> | 2018-01-30 14:16:44 +0100 |
| commit | 739a4eb9977c363d9393f3cb95996eda72e7c29c (patch) | |
| tree | 472e849854511848132394c0e6a722cd73a270dd /src/main/java/pers/gwyog/gtneioreplugin/util | |
| parent | 139001bc39cbf1eee935770dfbb5a0ffa45da5d8 (diff) | |
| download | GT5-Unofficial-739a4eb9977c363d9393f3cb95996eda72e7c29c.tar.gz GT5-Unofficial-739a4eb9977c363d9393f3cb95996eda72e7c29c.tar.bz2 GT5-Unofficial-739a4eb9977c363d9393f3cb95996eda72e7c29c.zip | |
Small Gui Fix
Diffstat (limited to 'src/main/java/pers/gwyog/gtneioreplugin/util')
| -rw-r--r-- | src/main/java/pers/gwyog/gtneioreplugin/util/DimensionHelper.java | 16 | ||||
| -rw-r--r-- | src/main/java/pers/gwyog/gtneioreplugin/util/GT5CFGHelper.java | 6 |
2 files changed, 11 insertions, 11 deletions
diff --git a/src/main/java/pers/gwyog/gtneioreplugin/util/DimensionHelper.java b/src/main/java/pers/gwyog/gtneioreplugin/util/DimensionHelper.java index f81e355f83..c0842bfbfa 100644 --- a/src/main/java/pers/gwyog/gtneioreplugin/util/DimensionHelper.java +++ b/src/main/java/pers/gwyog/gtneioreplugin/util/DimensionHelper.java @@ -46,16 +46,16 @@ public class DimensionHelper { "Underdark"}; public static String[] DimNameDisplayed = - { + {// first 2 letters if one word else 1 letter of every word, execpt capital letter in name, then 1rst + capital Moon = Mo, BarnardC = BC, EndAsteroid = EA "EA", - "MO", - "AS", - "MA", + "Mo", + "As", + "Ma", "BC", "BE", "BF", "Ca", - "CeA", + "CA", "Ce", "De", "En", @@ -69,7 +69,7 @@ public class DimensionHelper { "Mi", "Ob", "Ph", - "Pu", + "Pl", "Pr", "TE", "Ti", @@ -77,8 +77,8 @@ public class DimensionHelper { "VB", "Ve", "Ne", - "OW", - "EN", + "Ow", + "EN",//End = EN bc En = Encalus "VA", "TF", "DD"}; diff --git a/src/main/java/pers/gwyog/gtneioreplugin/util/GT5CFGHelper.java b/src/main/java/pers/gwyog/gtneioreplugin/util/GT5CFGHelper.java index 33f5604fa7..c616534d8d 100644 --- a/src/main/java/pers/gwyog/gtneioreplugin/util/GT5CFGHelper.java +++ b/src/main/java/pers/gwyog/gtneioreplugin/util/GT5CFGHelper.java @@ -50,9 +50,9 @@ public class GT5CFGHelper { //FMLLog.info("MIXst: "+st); if (st != null && st.trim().equals(Veinname+" {")) { //FMLLog.info("VEINNAMEst: "+st); - while (!((st == null)||((st != null)&&found[0]))){ + while (!((st == null)||((st != null) && found[0]))){ st = reader.readLine(); - if (st.trim().equals("}")) + if ((!(st == null)) && st.trim().equals("}")) found[0] = true; //FMLLog.info("dritte"); //add everything below Veinname { undtil } to raw @@ -76,7 +76,7 @@ public class GT5CFGHelper { //FMLLog.info("VEINNAMEst: "+st); while (!((st == null)||((st != null)&&found[1]))){ st = reader.readLine(); - if (st.trim().equals("}")) + if ((!(st == null)) && st.trim().equals("}")) found[1] = true; //FMLLog.info("vierte"); //add everything below Veinname { undtil } to raw |
