diff options
author | Draknyte1 <Draknyte1@hotmail.com> | 2017-07-09 23:23:19 +1000 |
---|---|---|
committer | Draknyte1 <Draknyte1@hotmail.com> | 2017-07-09 23:23:19 +1000 |
commit | f8c218fe6220a89ca479765ce9a79b86cf96aef5 (patch) | |
tree | 765710e6cf9012b8820055b64485aba6e952b52d /src/Java/gtPlusPlus/core/handler | |
parent | 2d24fb951aaf2196596e9edd5dfdc5c19e77a88f (diff) | |
download | GT5-Unofficial-f8c218fe6220a89ca479765ce9a79b86cf96aef5.tar.gz GT5-Unofficial-f8c218fe6220a89ca479765ce9a79b86cf96aef5.tar.bz2 GT5-Unofficial-f8c218fe6220a89ca479765ce9a79b86cf96aef5.zip |
Revert "^ Version Bump ready for new release."
This reverts commit fd994517395f1db5e7cff51501649110765fac16.
Diffstat (limited to 'src/Java/gtPlusPlus/core/handler')
-rw-r--r-- | src/Java/gtPlusPlus/core/handler/events/LoginEventHandler.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Java/gtPlusPlus/core/handler/events/LoginEventHandler.java b/src/Java/gtPlusPlus/core/handler/events/LoginEventHandler.java index e12608d488..b787acd02d 100644 --- a/src/Java/gtPlusPlus/core/handler/events/LoginEventHandler.java +++ b/src/Java/gtPlusPlus/core/handler/events/LoginEventHandler.java @@ -9,7 +9,6 @@ import gtPlusPlus.core.proxy.ClientProxy; import gtPlusPlus.core.util.Utils; import gtPlusPlus.core.util.player.PlayerCache; import gtPlusPlus.core.util.player.PlayerUtils; -import gtPlusPlus.core.util.version.VersionUtils; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlayerMP; @@ -42,7 +41,9 @@ public class LoginEventHandler { if (!CORE.isModUpToDate){ Utils.LOG_INFO("You're not using the latest recommended version of GT++, consider updating."); - Utils.LOG_INFO("Latest version is: "+VersionUtils.getVersionObjectAsString(CORE.MASTER_VERSION)); + if (!CORE.MASTER_VERSION.toLowerCase().equals("offline")) { + Utils.LOG_INFO("Latest version is: "+CORE.MASTER_VERSION); + } Utils.LOG_INFO("You currently have: "+CORE.VERSION); ShortTimer(this.localPlayerRef, 20); } |