Fix spelling mistake

This commit is contained in:
Alexander Xia committed 2019-09-20 16:33:04 +08:00
1 parent c519d09be4
commit c490631f2c
2 files changed
+4 -4

No files matched your search

@@ -8,7 +8,7 @@ public class SkinSiteProfile {
//Mojang API
public String apiRoot;
public String seesionRoot;
public String sessionRoot;
//Json API
public String root;
@@ -43,7 +43,7 @@ public class MojangAPILoader implements ProfileLoader.IProfileLoader {
CustomSkinLoader.logger.info("Profile not found.(" + username + "'s profile not found.)");
return null;
}
newGameProfile = fillGameProfile(ssp.seesionRoot, newGameProfile);
newGameProfile = fillGameProfile(ssp.sessionRoot, newGameProfile);
map = getTextures(newGameProfile);
if (!map.isEmpty()) {
gameProfile.getProperties().putAll(newGameProfile.getProperties());
@@ -127,8 +127,8 @@ public class MojangAPILoader implements ProfileLoader.IProfileLoader {
//Init default api & session root for Mojang API
if (ssp.apiRoot == null)
ssp.apiRoot = "https://api.mojang.com/";
if (ssp.seesionRoot == null)
ssp.seesionRoot = "https://sessionserver.mojang.com/";
if (ssp.sessionRoot == null)
ssp.sessionRoot = "https://sessionserver.mojang.com/";
}
}