diff options
author | Necrodoom <doomed.war@gmail.com> | 2013-06-14 10:30:03 +0300 |
---|---|---|
committer | Necrodoom <doomed.war@gmail.com> | 2013-06-14 10:30:03 +0300 |
commit | c902155d6e736b52f8b119c73b7b3e5e0132bd53 (patch) | |
tree | c2d603f2c23dafdd210120129ed7c66c4e4f9f97 /EssentialsGroupManager/src | |
parent | 6ea835e96feba8eeca929b72510b2be6be02302a (diff) | |
download | Essentials-c902155d6e736b52f8b119c73b7b3e5e0132bd53.tar Essentials-c902155d6e736b52f8b119c73b7b3e5e0132bd53.tar.gz Essentials-c902155d6e736b52f8b119c73b7b3e5e0132bd53.tar.lz Essentials-c902155d6e736b52f8b119c73b7b3e5e0132bd53.tar.xz Essentials-c902155d6e736b52f8b119c73b7b3e5e0132bd53.zip |
change checkPermissionExists to how Elgarl wants it
Diffstat (limited to 'EssentialsGroupManager/src')
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java index 4746ac548..ab21a7358 100644 --- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java +++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java @@ -2107,13 +2107,13 @@ public class GroupManager extends JavaPlugin { { sender.sendMessage(ChatColor.RED + "The " + type + " already has an exception for this node."); sender.sendMessage(ChatColor.RED + "Node: " + oldPerm.accessLevel); - return true; + return false; } else if (oldPerm.resultType.equals(PermissionCheckResult.Type.NEGATION)) { sender.sendMessage(ChatColor.RED + "The " + type + " already has a matching negated node."); sender.sendMessage(ChatColor.RED + "Node: " + oldPerm.accessLevel); - return true; + return false; } else if (oldPerm.resultType.equals(PermissionCheckResult.Type.FOUND)) { |