diff --git a/src/pocketmine/entity/Entity.php b/src/pocketmine/entity/Entity.php index cb6ff661e..28b9e4152 100644 --- a/src/pocketmine/entity/Entity.php +++ b/src/pocketmine/entity/Entity.php @@ -326,7 +326,7 @@ abstract class Entity extends Location implements Metadatable{ $this->justCreated = true; $this->namedtag = $nbt; - $this->chunk = $level->getChunk($this->namedtag["Pos"][0] >> 4, $this->namedtag["Pos"][2] >> 4); + $this->chunk = $level->getChunk($this->namedtag["Pos"][0] >> 4, $this->namedtag["Pos"][2] >> 4, true); assert($this->chunk !== null); $this->setLevel($level); $this->server = $level->getServer();