mirror of
https://github.com/aikar/commands.git
synced 2026-06-06 17:02:18 +00:00
Add a @nothing command completion
This commit is contained in:
@@ -43,6 +43,7 @@ public class CommandCompletions <C extends CommandCompletionContext> {
|
||||
|
||||
public CommandCompletions(CommandManager manager) {
|
||||
this.manager = manager;
|
||||
registerCompletion("nothing", c -> ImmutableList.of());
|
||||
registerCompletion("range", (c) -> {
|
||||
String config = c.getConfig();
|
||||
if (config == null) {
|
||||
|
||||
Reference in New Issue
Block a user