mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-28 05:35:44 +01:00
Fixes bug where the help could be seen even though not having the perms
This commit is contained in:
parent
f8da3fbc61
commit
65245a99f5
@ -30,6 +30,7 @@ public class DefaultHelpCommand extends CompositeCommand {
|
|||||||
// Set the usage to what the parent's command is
|
// Set the usage to what the parent's command is
|
||||||
setParameters(parent.getParameters());
|
setParameters(parent.getParameters());
|
||||||
setDescription(parent.getDescription());
|
setDescription(parent.getDescription());
|
||||||
|
setPermission(parent.getPermission());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user