mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-24 00:09:38 +00:00
1 parent
100e661ac5
commit
290cbb63d8
5 files changed
+78
-45
No files matched your search
@@ -129,6 +129,11 @@ public class MojangAPILoader implements ProfileLoader.IProfileLoader {
|
||||
ssp.apiRoot = "https://api.mojang.com/";
|
||||
if (ssp.sessionRoot == null)
|
||||
ssp.sessionRoot = "https://sessionserver.mojang.com/";
|
||||
}
|
||||
|
||||
private static final String MOJANG_API_ROOT = "https://api{DO_NOT_MODIFY}.mojang.com/";
|
||||
|
||||
public static String getMojangApiRoot() {
|
||||
return MOJANG_API_ROOT.replace("{DO_NOT_MODIFY}", "");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user