mirror of
https://github.com/aikar/commands.git
synced 2026-05-31 06:11:55 +00:00
Revert "Merge pull request #439 from benwoo1110/fix/tab-complete-spam"
This fix has side-effects where secondary command aliases do not fully use the commandcompletion - alternative solutions are being investigated This reverts commit6c8bb2620c, reversing changes made to01d900efd8.
This commit is contained in:
@@ -643,9 +643,6 @@ public abstract class BaseCommand {
|
||||
final List<String> cmds = new ArrayList<>();
|
||||
if (search != null) {
|
||||
for (RegisteredCommand<?> command : search.commands) {
|
||||
if (command.scope != this) {
|
||||
continue;
|
||||
}
|
||||
cmds.addAll(completeCommand(issuer, command, search.args, commandLabel, isAsync));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user