Fixes bug where the help could be seen even though not having the perms

This commit is contained in:
Florian CUNY 2018-02-10 11:00:19 +01:00
parent f8da3fbc61
commit 65245a99f5

View File

@ -30,6 +30,7 @@ public class DefaultHelpCommand extends CompositeCommand {
// Set the usage to what the parent's command is
setParameters(parent.getParameters());
setDescription(parent.getDescription());
setPermission(parent.getPermission());
}
@Override