From e13e5295e887c2a3f4db17cb17d2b5a1b9d859c8 Mon Sep 17 00:00:00 2001 From: TfT_02 Date: Fri, 18 Oct 2013 17:25:21 +0200 Subject: [PATCH] Notify about updates if user is running dev1 and beta1 is available --- src/main/java/net/gravitydevelopment/updater/mcmmo/Updater.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/gravitydevelopment/updater/mcmmo/Updater.java b/src/main/java/net/gravitydevelopment/updater/mcmmo/Updater.java index 9f02b3a57..c34329f91 100644 --- a/src/main/java/net/gravitydevelopment/updater/mcmmo/Updater.java +++ b/src/main/java/net/gravitydevelopment/updater/mcmmo/Updater.java @@ -447,7 +447,7 @@ public class Updater { // Check beta vs. dev 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; }