diff options
author | Draknyte1 <Draknyte1@hotmail.com> | 2016-09-11 00:28:12 +1000 |
---|---|---|
committer | Draknyte1 <Draknyte1@hotmail.com> | 2016-09-11 00:28:12 +1000 |
commit | 7ceb735ceda71bdef542773c4b3e95b0eeba6d35 (patch) | |
tree | df8e5526a5123904af79218566933c3cd32d5fcb /src/Java/gtPlusPlus/core/handler | |
parent | 7437cf1d45a4d45688fa4d9afc3e810a8a13a50d (diff) | |
download | GT5-Unofficial-7ceb735ceda71bdef542773c4b3e95b0eeba6d35.tar.gz GT5-Unofficial-7ceb735ceda71bdef542773c4b3e95b0eeba6d35.tar.bz2 GT5-Unofficial-7ceb735ceda71bdef542773c4b3e95b0eeba6d35.zip |
- Disabled the Skookum Choocher once more.
+ Added utilities to check the mod version online against my github.
+ Added a warning if the mod is out of date, to update.
Diffstat (limited to 'src/Java/gtPlusPlus/core/handler')
-rw-r--r-- | src/Java/gtPlusPlus/core/handler/events/LoginEventHandler.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Java/gtPlusPlus/core/handler/events/LoginEventHandler.java b/src/Java/gtPlusPlus/core/handler/events/LoginEventHandler.java index 9cf0cb8bb7..b35a42017d 100644 --- a/src/Java/gtPlusPlus/core/handler/events/LoginEventHandler.java +++ b/src/Java/gtPlusPlus/core/handler/events/LoginEventHandler.java @@ -1,5 +1,6 @@ package gtPlusPlus.core.handler.events; +import gtPlusPlus.core.lib.CORE; import gtPlusPlus.core.util.Utils; import gtPlusPlus.core.util.player.PlayerCache; @@ -31,6 +32,12 @@ public class LoginEventHandler { //Populates player cache if (!localPlayerRef.worldObj.isRemote){ PlayerCache.appendParamChanges(localPlayersName, localPlayersUUID.toString()); + + if (!CORE.isModUpToDate){ + Utils.LOG_INFO("You're not using the latest version of GT++, consider updating."); + Utils.messagePlayer(localPlayerRef, "You're not using the latest version of GT++, consider updating."); + } + } |