mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-09-18 02:51:18 +02:00
Adding a permission for unhiding help.
This commit is contained in:
parent
d6dc6d1d39
commit
7b18343e75
@ -153,6 +153,10 @@ public class Commandhelp extends EssentialsCommand
|
||||
retval.add("§c" + k.getKey() + "§7: " + value.get("description"));
|
||||
}
|
||||
}
|
||||
else if (user.isAuthorized("essentials.help." + pluginName))
|
||||
{
|
||||
retval.add("§c" + k.getKey() + "§7: " + value.get("description"));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!ess.getSettings().hidePermissionlessHelp())
|
||||
|
Loading…
Reference in New Issue
Block a user