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:
@@ -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
|
||||
|
Reference in New Issue
Block a user