mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-23 09:37:50 +01:00
Return online players instead of nothing when tab completing. (Fixes #1331)
This commit is contained in:
parent
298c292ffb
commit
12930cfce4
@ -205,7 +205,7 @@ public abstract class EssentialsCommand implements IEssentialsCommand {
|
||||
// Doesn't need to do any starts-with checks
|
||||
protected List<String> getTabCompleteOptions(final Server server, final CommandSource sender, final String commandLabel, final String[] args) {
|
||||
// No tab completion results
|
||||
return Collections.emptyList();
|
||||
return getPlayers(server, sender);
|
||||
}
|
||||
|
||||
public static String getFinalArg(final String[] args, final int start) {
|
||||
|
Loading…
Reference in New Issue
Block a user