mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-12 04:20:41 +00:00
If a permission is found return the correct node for mangcheckp (not
null).
This commit is contained in:
parent
8fac5f6beb
commit
1eac05799f
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue