From 7ceb735ceda71bdef542773c4b3e95b0eeba6d35 Mon Sep 17 00:00:00 2001 From: Draknyte1 Date: Sun, 11 Sep 2016 00:28:12 +1000 Subject: - 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. --- src/Java/gtPlusPlus/core/handler/events/LoginEventHandler.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/Java/gtPlusPlus/core/handler') 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."); + } + } -- cgit