✨ Add intermediary command executors.
This allows for command executors along the entire command chain, such that `/command`and `/command subcommand` may both be executed.
This commit is contained in:
parent
64fa3430a9
commit
0d44a8c944
8 changed files with 160 additions and 23 deletions
|
|
@ -155,4 +155,9 @@ final class BukkitCommand<C> extends org.bukkit.command.Command implements Plugi
|
|||
return this.cloudCommand.getCommandPermission().toString();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getUsage() {
|
||||
return this.manager.getCommandSyntaxFormatter().apply(this.cloudCommand.getArguments(), null);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue