.
This commit is contained in:
parent
9aa138058c
commit
b234cd9df7
17 changed files with 51 additions and 56 deletions
|
|
@ -7,7 +7,6 @@ import de.kentoj.kencommandapi.api.node.RootCommandNode;
|
|||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
|
||||
@RequiredArgsConstructor
|
||||
public class VelocityCommand implements SimpleCommand {
|
||||
|
|
@ -27,7 +26,7 @@ public class VelocityCommand implements SimpleCommand {
|
|||
}
|
||||
|
||||
@Override
|
||||
public CompletableFuture<List<String>> suggestAsync(Invocation invocation) {
|
||||
public List<String> suggest(Invocation invocation) {
|
||||
return commandHandler.getSuggestions(rootNode, invocation.source(), invocation.arguments());
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue