Support UUID in Legacy Loader

Update copyright statement
#65 #66
This commit is contained in:
Alexander Xia committed 2019-10-03 15:30:46 +08: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}", "");
}
}