mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 17:36:12 +00:00
Improved Level object deallocation
This commit is contained in:
@ -121,6 +121,7 @@ abstract class Tile extends Position{
|
||||
if(($level = $this->getLevel()) instanceof Level){
|
||||
$level->removeTile($this);
|
||||
}
|
||||
$this->level = null;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user