mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-14 21:22:09 +00:00
Return online players instead of nothing when tab completing. (Fixes #1331)
This commit is contained in:
parent
298c292ffb
commit
12930cfce4
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ public abstract class EssentialsCommand implements IEssentialsCommand {
|
||||||
// Doesn't need to do any starts-with checks
|
// 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) {
|
protected List<String> getTabCompleteOptions(final Server server, final CommandSource sender, final String commandLabel, final String[] args) {
|
||||||
// No tab completion results
|
// No tab completion results
|
||||||
return Collections.emptyList();
|
return getPlayers(server, sender);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String getFinalArg(final String[] args, final int start) {
|
public static String getFinalArg(final String[] args, final int start) {
|
||||||
|
|
Loading…
Reference in a new issue