mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-22 06:12:16 +00:00
Get ready for new JsonAPI
This commit is contained in:
1 parent
8bccab4f0b
commit
bbc355365a
8 files changed
+171
-169
No files matched your search
@@ -83,7 +83,7 @@ public class ProfileCache {
|
||||
CustomSkinLoader.logger.info("Successfully load LocalProfile.");
|
||||
return profile;
|
||||
}catch(Exception e){
|
||||
CustomSkinLoader.logger.info("Failed to load LocalProfile.("+e.getMessage()+")");
|
||||
CustomSkinLoader.logger.info("Failed to load LocalProfile.("+e.toString()+")");
|
||||
localProfiles.put(username.toLowerCase(), null);
|
||||
}
|
||||
return null;
|
||||
@@ -98,7 +98,7 @@ public class ProfileCache {
|
||||
IOUtils.write(json, new FileOutputStream(localProfile));
|
||||
CustomSkinLoader.logger.info("Successfully save LocalProfile.");
|
||||
} catch (Exception e) {
|
||||
CustomSkinLoader.logger.info("Failed to save LocalProfile.("+e.getMessage()+")");
|
||||
CustomSkinLoader.logger.info("Failed to save LocalProfile.("+e.toString()+")");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user