diff options
Diffstat (limited to 'src/Java/gtPlusPlus/core/util/Utils.java')
-rw-r--r-- | src/Java/gtPlusPlus/core/util/Utils.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Java/gtPlusPlus/core/util/Utils.java b/src/Java/gtPlusPlus/core/util/Utils.java index 23f5ab5507..b31c248e22 100644 --- a/src/Java/gtPlusPlus/core/util/Utils.java +++ b/src/Java/gtPlusPlus/core/util/Utils.java @@ -51,6 +51,18 @@ public class Utils { } } + public static boolean isModUpToDate(){ + + if (CORE.MASTER_VERSION.toLowerCase().equals("offline")){ + return false; + } + + if (CORE.MASTER_VERSION.equals(CORE.VERSION.toLowerCase())){ + return true; + } + return false; + } + public static TC_AspectStack getTcAspectStack (final TC_Aspects aspect, final long size){ return getTcAspectStack(aspect.name(), (int) size); } |