Skip to content

Commit b12ad25

Browse files
committed
Skip players with uuid="none"
1 parent 976d506 commit b12ad25

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/com/namelessmc/NamelessAPI/NamelessAPI.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ public Map<UUID, String> getRegisteredUsers(boolean hideInactive, boolean hideBa
174174
final String banned = userJsonElement.getAsJsonObject().get("banned").getAsString();
175175

176176
if (!(
177+
uuid.equals("none") ||
177178
( hideInactive && active.equals("0") ) ||
178179
( hideBanned && banned.equals("1") )
179180
)) {

0 commit comments

Comments
 (0)