From 9c598d1345d37c1088430f5ceec9699ae77a283c Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Thu, 15 Mar 2018 09:48:28 +0000 Subject: [PATCH] Spawnable: don't mark chunk as changed onChanged() this is unnecessary because a chunk is considered "changed" if it has tiles on it anyway. --- src/pocketmine/tile/Spawnable.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pocketmine/tile/Spawnable.php b/src/pocketmine/tile/Spawnable.php index e3f258a81..07d423a34 100644 --- a/src/pocketmine/tile/Spawnable.php +++ b/src/pocketmine/tile/Spawnable.php @@ -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()); } }