1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-10-04 10:01:44 +02:00

Fixed GM to recognize Superperm child nodes.

If you add a node like Towny.admin GM will now correctly report on
all child nodes.
This commit is contained in:
ElgarL
2011-10-28 18:43:29 +01:00
parent 7770c0b99c
commit fd936c582a
4 changed files with 55 additions and 4 deletions

View File

@@ -763,6 +763,7 @@ public class GroupManager extends JavaPlugin {
permissionResult = permissionHandler.checkFullUserPermission(auxUser, args[1]);
if (permissionResult.resultType.equals(PermissionCheckResult.Type.NOTFOUND)) {
sender.sendMessage(ChatColor.RED + "The player doesn't have access to that permission");
sender.sendMessage(ChatColor.YELLOW + "SuperPerms reports Node: " + targetPlayer.hasPermission(args[1]));
return false;
}
//PARECE OK