diff --git a/src/main/java/fr/xephi/authme/command/executable/HelpCommand.java b/src/main/java/fr/xephi/authme/command/executable/HelpCommand.java index ef1e2c7ad..89256535c 100644 --- a/src/main/java/fr/xephi/authme/command/executable/HelpCommand.java +++ b/src/main/java/fr/xephi/authme/command/executable/HelpCommand.java @@ -36,7 +36,7 @@ public class HelpCommand implements ExecutableCommand { } } - int mappedCommandLevel = foundCommandResult.getCommandDescription().getLabelCount(); + int mappedCommandLevel = result.getCommandDescription().getLabelCount(); if (mappedCommandLevel == 1) { commandService.outputHelp(sender, result, HelpProvider.SHOW_CHILDREN); } else {