Fixed issue with hasPermission returning false wrongly
This commit is contained in:
parent
9147301b2f
commit
841872d591
@ -76,7 +76,7 @@ public class PermissibleBase implements Permissible {
|
||||
if (perm != null) {
|
||||
return perm.getDefault().getValue(isOp());
|
||||
} else {
|
||||
return false;
|
||||
return Permission.DEFAULT_PERMISSION.getValue(isOp());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user