From 53fae197e09ad256e7ad66331f8f82a3469b28d7 Mon Sep 17 00:00:00 2001 From: Draknyte1 Date: Thu, 24 Aug 2017 21:26:30 +1000 Subject: $ Fixed version checker not working as intended due to invalid network checking. % Tweaked LFTR Controller recipe, replacing screen with a Computer Cube. --- src/Java/gtPlusPlus/core/util/Utils.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Java/gtPlusPlus/core/util/Utils.java') 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){ -- cgit