[BUGFIX] No need to check for versions when validation is disabled

This commit is contained in:
JKetelaar
2016-10-18 00:48:55 +02:00
parent e1929baab1
commit e584b08846
+1 -1
View File
@@ -43,7 +43,7 @@ public final class Landing {
t.printStackTrace();
}
if (!Core.inDebugMode() && !Core.isValid() && Core.hasValidation()) {
if (!Core.inDebugMode() && Core.hasValidation() && !Core.isValid()) {
UILog.log(TranslationHelper.translate("UPDATES"),
TranslationHelper.translate("DOWNLOAD_UPDATE_PARABOT_AT")
+ Configuration.DOWNLOAD_BOT,