summaryrefslogtreecommitdiffstats
path: root/EssentialsGroupManager/src/org
diff options
context:
space:
mode:
authorElgarL <ElgarL@palmergames.com>2012-04-22 12:12:50 +0100
committerElgarL <ElgarL@palmergames.com>2012-04-22 12:12:50 +0100
commit06247732da564876d97de99aa706fd7e823c0df9 (patch)
tree16a34de9d793a8b258edd6f0dd256260417c722e /EssentialsGroupManager/src/org
parentfc7689354f3dea2614f248a1f82eb740b6a4fb9f (diff)
downloadEssentials-06247732da564876d97de99aa706fd7e823c0df9.tar
Essentials-06247732da564876d97de99aa706fd7e823c0df9.tar.gz
Essentials-06247732da564876d97de99aa706fd7e823c0df9.tar.lz
Essentials-06247732da564876d97de99aa706fd7e823c0df9.tar.xz
Essentials-06247732da564876d97de99aa706fd7e823c0df9.zip
Allow 'manucheckp' to notify when superperms reports false but it is
really negated.
Diffstat (limited to 'EssentialsGroupManager/src/org')
-rw-r--r--EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
index 0571db4b6..5f357641a 100644
--- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
+++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
@@ -921,7 +921,7 @@ public class GroupManager extends JavaPlugin {
// superperms
if (targetPlayer != null) {
- sender.sendMessage(ChatColor.YELLOW + "SuperPerms reports Node: " + targetPlayer.hasPermission(args[1]));
+ sender.sendMessage(ChatColor.YELLOW + "SuperPerms reports Node: " + targetPlayer.hasPermission(args[1]) + ((!targetPlayer.hasPermission(args[1]) && targetPlayer.isPermissionSet(args[1])) ? " (Negated)": ""));
}
return true;