Skip to content

Commit aa9298f

Browse files
author
damt
committed
[+] Fixed finding sub-commands of a command
1 parent 23b8482 commit aa9298f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/xyz/damt/command/command/CommandFinder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ private final void edit() {
8282
commands.forEach(command -> {
8383
String[] args = command.getName().split("\\s+");
8484

85-
if (args.length > 0)
85+
if (args.length > 1)
8686
return;
8787

8888
List<Command> subCommands = getCommands(args[0]);

0 commit comments

Comments
 (0)