Fix third-party not premium player detection
This commit is contained in:
1 parent
164fb735d6
commit
6c1c4e7286
2 files changed
+8
No files matched your search
@@ -80,6 +80,10 @@ public class MojangApiBukkit extends MojangApiConnector {
|
||||
}
|
||||
|
||||
String uuid = (String) mojangPlayer.get("id");
|
||||
if (uuid == null || uuid.equals("null")) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return FastLoginCore.parseId(uuid);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user