We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7544559 commit e011bfeCopy full SHA for e011bfe
common/src/main/java/revxrsal/commands/core/BaseCommandHelp.java
@@ -51,8 +51,10 @@ public Resolver(BaseCommandHandler handler) {
51
CommandPath parentPath = parent == null ? null : parent.getPath();
52
handler.executables.values().stream().sorted().forEach(c -> {
53
if (parentPath == null || parentPath.isParentOf(c.getPath())) {
54
- if (c != helpCommand)
55
- entries.add(writer.generate(c, context.actor()));
+ if (c != helpCommand) {
+ Object generated = writer.generate(c, context.actor());
56
+ if (generated != null) entries.add(generated);
57
+ }
58
}
59
});
60
return entries;
0 commit comments