Got initial sponge powered loading working, Im not sure the consequences of it though

This commit is contained in:
2025-05-27 19:39:27 -04:00
parent 3f6bb4a0e6
commit 7247341693
9 changed files with 115 additions and 47 deletions
@@ -73,8 +73,8 @@ public class MiscUtils {
JSONObject object = JsonReader
.readJsonFromUrl("https://funkemunky.cc/mojang/uuid?name=" + playername);
if(object.has("id")) {
return formatFromMojangUUID(object.getString("uuid"));
if(object.has("uuid")) {
return UUID.fromString(object.getString("uuid"));
}
} catch (IOException | JSONException e) {
AntiVPN.getInstance().getExecutor().logException("Error while looking up UUID for " + playername, e);