ActuallyAdditions/src/main/java/ellpeck/actuallyadditions/update/UpdateChecker.java

33 lines
1 KiB
Java
Raw Normal View History

2015-08-29 14:33:25 +02:00
/*
* This file ("UpdateChecker.java") is part of the Actually Additions Mod for Minecraft.
* It is created and owned by Ellpeck and distributed
* under the Actually Additions License to be found at
* http://github.com/Ellpeck/ActuallyAdditions/blob/master/README.md
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
*
* <EFBFBD> 2015 Ellpeck
*/
2015-04-26 21:09:25 +02:00
package ellpeck.actuallyadditions.update;
import ellpeck.actuallyadditions.util.ModUtil;
import ellpeck.actuallyadditions.util.Util;
public class UpdateChecker{
public static boolean doneChecking = false;
public static boolean checkFailed = false;
public static String updateVersionS;
public static int updateVersion;
public static int clientVersion;
public static String changelog;
public static final String DOWNLOAD_LINK = "http://minecraft.curseforge.com/mc-mods/228404-actually-additions/files";
2015-04-26 21:09:25 +02:00
public void init(){
2015-07-01 21:32:48 +02:00
ModUtil.LOGGER.info("Initializing Update Checker...");
2015-04-26 21:09:25 +02:00
Util.registerEvent(this);
new ThreadUpdateChecker();
2015-04-26 21:09:25 +02:00
}
}