mirror of
https://github.com/funkemunky/AntiVPN.git
synced 2026-06-03 10:22:21 +00:00
Got initial sponge powered loading working, Im not sure the consequences of it though
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user