mirror of
https://github.com/plexusorg/Plex.git
synced 2025-07-13 10:38:35 +00:00
Tab completer improvements (#80)
* Attempt to improve the tab completion for Plex * i give up for the night * steven is a god * Fix permission node
This commit is contained in:
@ -111,9 +111,9 @@ public class MobPurgeCMD extends PlexCommand
|
||||
return mobs;
|
||||
}
|
||||
|
||||
public @NotNull List<String> tabComplete(@NotNull CommandSender sender, @NotNull String alias, @NotNull String[] args) throws IllegalArgumentException
|
||||
public @NotNull List<String> smartTabComplete(@NotNull CommandSender sender, @NotNull String alias, @NotNull String[] args) throws IllegalArgumentException
|
||||
{
|
||||
if (args.length == 1)
|
||||
if (args.length == 1 && silentCheckPermission(sender, this.getPermission()))
|
||||
{
|
||||
return getAllMobs();
|
||||
}
|
||||
|
Reference in New Issue
Block a user