mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-22 19:39:24 +01:00
fml
This commit is contained in:
parent
8a5dd83e0b
commit
37d90f9fda
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ public class ThreadUpdateChecker extends Thread{
|
||||||
|
|
||||||
String clientVersionString = ModUtil.VERSION.substring(ModUtil.VERSION.indexOf("r")+1);
|
String clientVersionString = ModUtil.VERSION.substring(ModUtil.VERSION.indexOf("r")+1);
|
||||||
int clientVersion = Integer.parseInt(clientVersionString.contains("_") ? clientVersionString.substring(0, clientVersionString.indexOf("_")) : clientVersionString);
|
int clientVersion = Integer.parseInt(clientVersionString.contains("_") ? clientVersionString.substring(0, clientVersionString.indexOf("_")) : clientVersionString);
|
||||||
|
|
||||||
if(UpdateChecker.updateVersionInt > clientVersion){
|
if(UpdateChecker.updateVersionInt > clientVersion){
|
||||||
UpdateChecker.needsUpdateNotify = true;
|
UpdateChecker.needsUpdateNotify = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue