diff options
author | ElgarL <ElgarL@Palmergames.com> | 2014-03-27 03:55:58 +0000 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2014-05-04 12:50:14 +0100 |
commit | 24509d60be7e720c3b1d3f25cd8c7fd96c435775 (patch) | |
tree | 38b5d1ab89af0cf2d0989d754a5b66a0a6a42a32 | |
parent | f0947e9a7cf8c6478ab25944ff4c20c1f9010ee1 (diff) | |
download | Essentials-24509d60be7e720c3b1d3f25cd8c7fd96c435775.tar Essentials-24509d60be7e720c3b1d3f25cd8c7fd96c435775.tar.gz Essentials-24509d60be7e720c3b1d3f25cd8c7fd96c435775.tar.lz Essentials-24509d60be7e720c3b1d3f25cd8c7fd96c435775.tar.xz Essentials-24509d60be7e720c3b1d3f25cd8c7fd96c435775.zip |
Update mangcheckp to understand Exception nodes.
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java index ee5d04490..e82bca50c 100644 --- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java +++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java @@ -1204,6 +1204,8 @@ public class GroupManager extends JavaPlugin { if (permissionResult.owner instanceof Group) { if (permissionResult.resultType.equals(PermissionCheckResult.Type.NEGATION)) { sender.sendMessage(ChatColor.YELLOW + "The group inherits the negation permission from group: " + permissionResult.owner.getName()); + } else if (permissionResult.resultType.equals(PermissionCheckResult.Type.EXCEPTION)) { + sender.sendMessage(ChatColor.YELLOW + "The group inherits an Exception permission from group: " + permissionResult.owner.getName()); } else { sender.sendMessage(ChatColor.YELLOW + "The user inherits the permission from group: " + permissionResult.owner.getName()); } |