mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-06 11:00:43 +01: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"));
|
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
|
else
|
||||||
{
|
{
|
||||||
if (!ess.getSettings().hidePermissionlessHelp())
|
if (!ess.getSettings().hidePermissionlessHelp())
|
||||||
|
Loading…
Reference in New Issue
Block a user