mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
Fixed PermissionAttachment not recalculating its Permissible permissions
This commit is contained in:
parent
8c939feed9
commit
60011a5ecf
@ -102,6 +102,7 @@ class PermissionAttachment{
|
||||
*/
|
||||
public function unsetPermission($name){
|
||||
unset($this->permissions[$name instanceof Permission ? $name->getName() : $name]);
|
||||
$this->permissible->recalculatePermissions();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user