1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-15 11:04:29 +02:00

Adding a permission for unhiding help.

This commit is contained in:
KHobbits
2011-07-27 14:25:41 +01:00
parent a0c9226473
commit 1f4c0aabc2

View File

@@ -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())