1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-09-26 06:09:15 +02:00

Allow 'manucheckp' to notify when superperms reports false but it is

really negated.
This commit is contained in:
ElgarL
2012-04-22 12:12:50 +01:00
parent fc7689354f
commit 06247732da
2 changed files with 3 additions and 2 deletions

View File

@@ -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;