Removes the 0000 UUID check, as it removed bedrock players
This commit is contained in:
parent
0b601d9bb7
commit
203d843dc8
@ -44,13 +44,10 @@ 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());
|
||||
}
|
||||
if (offlinePlayer.getName() != null) {
|
||||
playerNames.add(offlinePlayer.getName());
|
||||
} else {
|
||||
playerNames.add(offlinePlayer.getUniqueId().toString());
|
||||
}
|
||||
}
|
||||
return playerNames;
|
||||
|
Loading…
Reference in New Issue
Block a user