mirror of
https://github.com/GeyserMC/Floodgate.git
synced 2026-01-04 15:31:48 +00:00
Update cloud (#505)
This commit is contained in:
@@ -102,10 +102,10 @@ public class PlayerAudienceArgument {
|
||||
CommandUtil commandUtil = context.get("CommandUtil");
|
||||
|
||||
boolean quoted = input.remainingInput().startsWith("\"");
|
||||
List<Suggestion> suggestions = new ArrayList<Suggestion>();
|
||||
List<Suggestion> suggestions = new ArrayList<>();
|
||||
for (final String player : commandUtil.getOnlineUsernames(limitTo)) {
|
||||
suggestions.add(
|
||||
Suggestion.simple(BrigadierUtils.escapeIfRequired(player, quoted)));
|
||||
Suggestion.suggestion(BrigadierUtils.escapeIfRequired(player, quoted)));
|
||||
}
|
||||
return CompletableFuture.completedFuture(suggestions);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user