}
}
if (res == PermissionCheckResult.UNDEFINED) {
for (Map.Entry<String, Boolean> ent : plugin.getRegexPerms().getPermissionList().getParents(permission)) {
if ((res = permissionValue(ent.getKey())) != PermissionCheckResult.UNDEFINED) {
res = PermissionCheckResult.fromBoolean(!(res.toBoolean() ^ ent.getValue()));
if (isDebug()) {
plugin.getLogger().info("User " + player.getName() + " checked for permission '" + permission + "', match from parent '" + ent.getKey() + "' (CACHE MISS)");
}
break;
}