mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-23 09:37:50 +01:00
If a permission is found return the correct node for mangcheckp (not
null).
This commit is contained in:
parent
8fac5f6beb
commit
1eac05799f
@ -920,6 +920,7 @@ public class AnjoPermissionsHandler extends PermissionsReaderInterface {
|
||||
Group now = stack.pop();
|
||||
PermissionCheckResult resultNow = checkGroupOnlyPermission(now, targetPermission);
|
||||
if (!resultNow.resultType.equals(PermissionCheckResult.Type.NOTFOUND)) {
|
||||
resultNow.accessLevel = targetPermission;
|
||||
return resultNow;
|
||||
}
|
||||
for (String sonName : now.getInherits()) {
|
||||
|
Loading…
Reference in New Issue
Block a user