Notify about updates if user is running dev1 and beta1 is available

This commit is contained in:
TfT_02 2013-10-18 17:25:21 +02:00
parent b100b7bcc7
commit e13e5295e8

View File

@ -447,7 +447,7 @@ public class Updater {
// Check beta vs. dev // Check beta vs. dev
if (version.contains("dev") && title.contains("beta")) { if (version.contains("dev") && title.contains("beta")) {
if (Integer.parseInt(oldTokens[1].substring(3)) < Integer.parseInt(newTokens[1].substring(4))) { if (Integer.parseInt(oldTokens[1].substring(3)) <= Integer.parseInt(newTokens[1].substring(4))) {
return true; return true;
} }