mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Merge branch 'master' into pthreads-fix
This commit is contained in:
@ -435,6 +435,9 @@ class PluginManager{
|
||||
if(isset($this->permSubs[$permission])){
|
||||
$this->permSubs[$permission][spl_object_hash($permissible)]->release();
|
||||
unset($this->permSubs[$permission][spl_object_hash($permissible)]);
|
||||
if(count($this->permSubs[$permission]) === 0){
|
||||
unset($this->permSubs[$permission]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user