mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +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){
|
public function unsetPermission($name){
|
||||||
unset($this->permissions[$name instanceof Permission ? $name->getName() : $name]);
|
unset($this->permissions[$name instanceof Permission ? $name->getName() : $name]);
|
||||||
|
$this->permissible->recalculatePermissions();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user