diff options
author | KHobbits <rob@khobbits.co.uk> | 2011-07-27 14:25:41 +0100 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2011-07-27 14:25:41 +0100 |
commit | 1f4c0aabc2740625c2393149a454cb244a781504 (patch) | |
tree | 6521641c52f855e75a5dcf6ca4f699874e0692c0 | |
parent | a0c92264731bba781bdc55cd942ed4f7e60b0229 (diff) | |
download | Essentials-1f4c0aabc2740625c2393149a454cb244a781504.tar Essentials-1f4c0aabc2740625c2393149a454cb244a781504.tar.gz Essentials-1f4c0aabc2740625c2393149a454cb244a781504.tar.lz Essentials-1f4c0aabc2740625c2393149a454cb244a781504.tar.xz Essentials-1f4c0aabc2740625c2393149a454cb244a781504.zip |
Adding a permission for unhiding help.
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandhelp.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandhelp.java b/Essentials/src/com/earth2me/essentials/commands/Commandhelp.java index 07945b75b..2b1ba9776 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandhelp.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandhelp.java @@ -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()) |