This commit is contained in:
Ellpeck 2016-01-11 22:18:24 +01:00
parent 8a5dd83e0b
commit 37d90f9fda

View file

@ -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;
}