mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-22 20:09:46 +00:00
Update Blessing Skin Url
This commit is contained in:
1 parent
7cf42be31c
commit
d2db775a17
2 files changed
+2
-2
No files matched your search
@@ -41,7 +41,7 @@ public class CustomSkinLoader {
|
||||
CONFIG_FILE=new File(DATA_DIR,"CustomSkinLoader.json");
|
||||
public static final SkinSiteProfile[] DEFAULT_LOAD_LIST={
|
||||
SkinSiteProfile.createMojangAPI("Mojang"),
|
||||
SkinSiteProfile.createCustomSkinAPI("BlessingSkin","https://skin.prinzeugen.net/csl/"),
|
||||
SkinSiteProfile.createCustomSkinAPI("BlessingSkin","https://skin.prinzeugen.net/"),
|
||||
SkinSiteProfile.createCustomSkinAPI("OneSkin","http://fleey.org/skin/skin_user/skin_json.php/"),
|
||||
//Minecrack could not load skin correctly
|
||||
//SkinSiteProfile.creatLegacy("Minecrack","http://minecrack.fr.nf/mc/skinsminecrackd/{USERNAME}.png","http://minecrack.fr.nf/mc/cloaksminecrackd/{USERNAME}.png",null),
|
||||
|
||||
@@ -48,7 +48,7 @@ public class Config {
|
||||
}catch (Exception e){
|
||||
CustomSkinLoader.logger.warning("Exception occurs while parsing version: "+e.toString());
|
||||
}
|
||||
if(config.version==null||floatVersion < configVersion){
|
||||
if(config.version==null || configVersion==0f || floatVersion > configVersion){
|
||||
CustomSkinLoader.logger.info("Config File is out of date: "+config.version);
|
||||
config.version=CustomSkinLoader.CustomSkinLoader_VERSION;
|
||||
writeConfig(config,true);
|
||||
|
||||
Reference in new issue
Block a user