mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-04 00:55:14 +00:00
Spawnable: don't mark chunk as changed onChanged()
this is unnecessary because a chunk is considered "changed" if it has tiles on it anyway.
This commit is contained in:
@ -79,7 +79,6 @@ abstract class Spawnable extends Tile{
|
||||
$this->spawnToAll();
|
||||
|
||||
if($this->chunk !== null){
|
||||
$this->chunk->setChanged();
|
||||
$this->level->clearChunkCache($this->chunk->getX(), $this->chunk->getZ());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user