diff --git a/Common/source/customskinloader/config/SkinSiteProfile.java b/Common/source/customskinloader/config/SkinSiteProfile.java index 5e7fd8a..e24ac87 100644 --- a/Common/source/customskinloader/config/SkinSiteProfile.java +++ b/Common/source/customskinloader/config/SkinSiteProfile.java @@ -8,7 +8,7 @@ public class SkinSiteProfile { //Mojang API public String apiRoot; - public String seesionRoot; + public String sessionRoot; //Json API public String root; diff --git a/Common/source/customskinloader/loader/MojangAPILoader.java b/Common/source/customskinloader/loader/MojangAPILoader.java index 25953ff..d50e0ee 100644 --- a/Common/source/customskinloader/loader/MojangAPILoader.java +++ b/Common/source/customskinloader/loader/MojangAPILoader.java @@ -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/"; } }