mirror of
https://github.com/aikar/commands.git
synced 2026-06-05 16:42:17 +00:00
Fix a bug with command completions generations for some subcommands
This commit is contained in:
@@ -638,7 +638,7 @@ public abstract class BaseCommand {
|
||||
final List<String> cmds = new ArrayList<>();
|
||||
if (search != null) {
|
||||
for (RegisteredCommand<?> command : search.commands) {
|
||||
cmds.addAll(completeCommand(issuer, command, args, commandLabel, isAsync));
|
||||
cmds.addAll(completeCommand(issuer, command, search.args, commandLabel, isAsync));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user