mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 20:14:31 +00:00
Fixed crash when removing Tiles
This commit is contained in:
@@ -101,7 +101,6 @@ abstract class Tile extends Position{
|
|||||||
unset(Tile::$needUpdate[$this->id]);
|
unset(Tile::$needUpdate[$this->id]);
|
||||||
$this->getLevel()->removeTile($this);
|
$this->getLevel()->removeTile($this);
|
||||||
unset($this->getLevel()->chunkTiles[$this->chunkIndex][$this->id]);
|
unset($this->getLevel()->chunkTiles[$this->chunkIndex][$this->id]);
|
||||||
unset(Tile::$list[$this->id]);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user