We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 808b3bf commit ecf9caaCopy full SHA for ecf9caa
src/main/java/me/despical/commandframework/CommandFramework.java
@@ -232,7 +232,7 @@ protected final void setCommandMap(CommandMap commandMap) {
232
@Contract(pure = true)
233
public final List<Command> getCommands() {
234
List<Command> commands = new ArrayList<>(this.registry.getCommands());
235
- commands.addAll(this.registry.getCommands());
+ commands.addAll(this.registry.getSubCommands());
236
237
return commands;
238
}
0 commit comments