Support ModLauncher

This commit is contained in:
xfl03 authored and Alexander Xia committed 2018-08-26 07:04:25 +08:00
1 parent db6b54732e
commit b7b59c0b85
13 files changed
+131 -44019

No files matched your search

@@ -87,7 +87,7 @@ public class Config {
}catch (Exception e){
CustomSkinLoader.logger.warning("Exception occurs while parsing version: "+e.toString());
}
if(config.version==null || configVersion==0f || floatVersion > configVersion){
if(floatVersion > configVersion){
CustomSkinLoader.logger.info("Config File is out of date: "+config.version);
config.version=CustomSkinLoader.CustomSkinLoader_VERSION;
writeConfig(config,true);