diff options
author | Draknyte1 <Draknyte1@hotmail.com> | 2017-08-24 21:26:30 +1000 |
---|---|---|
committer | Draknyte1 <Draknyte1@hotmail.com> | 2017-08-24 21:26:30 +1000 |
commit | 53fae197e09ad256e7ad66331f8f82a3469b28d7 (patch) | |
tree | 98855d8cc943727b6ae301dfdc92b32f06b6ee5c /src/Java/gtPlusPlus/core/util/Utils.java | |
parent | 7778a680a63a9a6f77978b0dcc300517509ae245 (diff) | |
download | GT5-Unofficial-53fae197e09ad256e7ad66331f8f82a3469b28d7.tar.gz GT5-Unofficial-53fae197e09ad256e7ad66331f8f82a3469b28d7.tar.bz2 GT5-Unofficial-53fae197e09ad256e7ad66331f8f82a3469b28d7.zip |
$ Fixed version checker not working as intended due to invalid network checking.
% Tweaked LFTR Controller recipe, replacing screen with a Computer Cube.
Diffstat (limited to 'src/Java/gtPlusPlus/core/util/Utils.java')
-rw-r--r-- | src/Java/gtPlusPlus/core/util/Utils.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Java/gtPlusPlus/core/util/Utils.java b/src/Java/gtPlusPlus/core/util/Utils.java index 0653420e5b..1ce9a29877 100644 --- a/src/Java/gtPlusPlus/core/util/Utils.java +++ b/src/Java/gtPlusPlus/core/util/Utils.java @@ -22,7 +22,6 @@ import gtPlusPlus.core.proxy.ClientProxy; import gtPlusPlus.core.util.fluid.FluidUtils; import gtPlusPlus.core.util.item.ItemUtils; import gtPlusPlus.core.util.math.MathUtils; -import gtPlusPlus.core.util.reflect.ReflectionUtils; import ic2.core.Ic2Items; import ic2.core.init.InternalName; import ic2.core.item.resources.ItemCell; @@ -54,15 +53,16 @@ public class Utils { } public static boolean isModUpToDate(){ - if (CORE.MASTER_VERSION.toLowerCase().equals("offline")){ return false; } - if (CORE.MASTER_VERSION.equals(CORE.VERSION.toLowerCase())){ + else if (CORE.MASTER_VERSION.toLowerCase().equals(CORE.VERSION.toLowerCase())){ return true; } - return false; + else { + return false; + } } public static TC_AspectStack getTcAspectStack (final TC_Aspects aspect, final long size){ |