Adding a permission for unhiding help.

This commit is contained in:
KHobbits 2011-07-27 14:25:41 +01:00
parent d6dc6d1d39
commit 7b18343e75

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