mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
PermissibleBase: fixed express denying of a root permission not working
this only took effect when a permission was applied as a root. When overridden with a permission attachment, the problem did not manifest.
This commit is contained in:
parent
f5bb5c1208
commit
13e8854ec0
@ -144,7 +144,7 @@ class PermissibleBase implements Permissible{
|
||||
}
|
||||
$this->permissions[$name] = new PermissionAttachmentInfo($name, null, $isGranted);
|
||||
$permManager->subscribeToPermission($name, $this);
|
||||
$this->calculateChildPermissions($perm->getChildren(), false, null);
|
||||
$this->calculateChildPermissions($perm->getChildren(), !$isGranted, null);
|
||||
}
|
||||
|
||||
foreach($this->attachments as $attachment){
|
||||
|
Loading…
x
Reference in New Issue
Block a user