fix an NPE and other changes

This commit is contained in:
AigleDev
2019-09-15 20:53:27 +02:00
parent 4f38bfa949
commit fb3204ddb1
14 changed files with 70 additions and 69 deletions

View File

@@ -29,7 +29,7 @@ public class CmdAutoHelp extends FCommand {
for (FCommand scmd : pcmd.subCommands) {
if (scmd.visibility == CommandVisibility.VISIBLE) {
lines.add(scmd.getUseageTemplate(context, true));
lines.add(scmd.getUsageTemplate(context, true));
}
// TODO deal with other visibilities
}