Removes the 0000 UUID check, as it removed bedrock players
This commit is contained in:
parent
0b601d9bb7
commit
203d843dc8
@ -44,15 +44,12 @@ public class SetPlayerPaymentTabCompleter implements TabCompleter {
|
||||
playerNames.add(player.getName());
|
||||
}
|
||||
for (OfflinePlayer offlinePlayer : Bukkit.getOfflinePlayers()) {
|
||||
String uuid = offlinePlayer.getUniqueId().toString();
|
||||
if (!uuid.startsWith("00000000-0000-0000")) {
|
||||
if (offlinePlayer.getName() != null) {
|
||||
playerNames.add(offlinePlayer.getName());
|
||||
} else {
|
||||
playerNames.add(offlinePlayer.getUniqueId().toString());
|
||||
}
|
||||
}
|
||||
}
|
||||
return playerNames;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user