Added custom useragent

Faster mod loading
Backup broken json
Added a new skin site
This commit is contained in:
Alexander Xia committed 2016-07-04 14:10:44 +08:00
1 parent 4e78285bbe
commit 7654dc583d
9 files changed
+57 -20

No files matched your search

@@ -19,7 +19,7 @@ public class CustomSkinAPILoader implements IProfileLoader {
CustomSkinLoader.logger.info("Root not denined.");
return null;
}
String json=HttpUtil0.readHttp(ssp.root+username+".json");
String json=HttpUtil0.readHttp(ssp.root+username+".json",ssp.userAgent);
if(json==null||json.equals("")){
CustomSkinLoader.logger.info("Profile not found.");
return null;