mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-04 17:06:16 +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:
@ -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){
|
||||
|
Reference in New Issue
Block a user