From 65e7be449116dc3364e9df4d5ec3cba83c5d1884 Mon Sep 17 00:00:00 2001 From: Draknyte1 Date: Sun, 11 Sep 2016 00:59:40 +1000 Subject: $ Fixed a mistake in the version checking. > comparing Strings with == not .equals() --- src/Java/gtPlusPlus/core/handler/events/LoginEventHandler.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (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 b35a42017d..1db26846c7 100644 --- a/src/Java/gtPlusPlus/core/handler/events/LoginEventHandler.java +++ b/src/Java/gtPlusPlus/core/handler/events/LoginEventHandler.java @@ -34,8 +34,13 @@ public class LoginEventHandler { 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."); + Utils.LOG_INFO("You're not using the latest recommended version of GT++, consider updating."); + Utils.LOG_INFO("Latest version is: "+CORE.MASTER_VERSION); + Utils.LOG_INFO("You currently have: "+CORE.VERSION); + Utils.messagePlayer(localPlayerRef, "You're not using the latest recommended version of GT++, consider updating."); + } + else { + Utils.LOG_INFO("You're using the latest recommended version of GT++."); } } -- cgit