From 37d90f9fda58fbc0bc1ed89ce9c444d19b26bfa1 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Mon, 11 Jan 2016 22:18:24 +0100 Subject: [PATCH] fml --- .../actuallyadditions/mod/update/ThreadUpdateChecker.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/update/ThreadUpdateChecker.java b/src/main/java/de/ellpeck/actuallyadditions/mod/update/ThreadUpdateChecker.java index 9535467f1..4c94705a9 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/update/ThreadUpdateChecker.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/update/ThreadUpdateChecker.java @@ -59,6 +59,7 @@ public class ThreadUpdateChecker extends Thread{ String clientVersionString = ModUtil.VERSION.substring(ModUtil.VERSION.indexOf("r")+1); int clientVersion = Integer.parseInt(clientVersionString.contains("_") ? clientVersionString.substring(0, clientVersionString.indexOf("_")) : clientVersionString); + if(UpdateChecker.updateVersionInt > clientVersion){ UpdateChecker.needsUpdateNotify = true; }