diff --git a/velocity/src/main/java/co/aikar/commands/VelocityRootCommand.java b/velocity/src/main/java/co/aikar/commands/VelocityRootCommand.java index 13e746438..8dc90f956 100644 --- a/velocity/src/main/java/co/aikar/commands/VelocityRootCommand.java +++ b/velocity/src/main/java/co/aikar/commands/VelocityRootCommand.java @@ -94,4 +94,9 @@ public List suggest(Invocation invocation) { public CompletableFuture> suggestAsync(Invocation invocation) { return CompletableFuture.completedFuture(getTabCompletions(manager.getCommandIssuer(invocation.source()), getCommandName(), invocation.arguments())); } + + @Override + public boolean hasPermission(Invocation invocation) { + return hasAnyPermission(this.manager.getCommandIssuer(invocation.source())); + } }