Add a @nothing command completion

This commit is contained in:
Aikar
2017-07-03 23:30:04 -05:00
parent c62c0298a2
commit 08dc044d09
@@ -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) {