mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-14 01:39:52 +00:00
Fixed crash when removing Tiles
This commit is contained in:
parent
96b1831229
commit
3fc1be1262
@ -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]);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user