From d68501c748c07f53e7008afda4b365ec79eca22c Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Thu, 18 Apr 2019 16:12:20 +0100 Subject: [PATCH] fixed spawn-radius: 0 --- src/pocketmine/Player.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pocketmine/Player.php b/src/pocketmine/Player.php index d76212d0a..6e0d8cd80 100644 --- a/src/pocketmine/Player.php +++ b/src/pocketmine/Player.php @@ -969,7 +969,7 @@ class Player extends Human implements CommandSender, ChunkLoader, ChunkListener, assert(isset($this->usedChunks[Level::chunkHash($x, $z)])); $this->usedChunks[Level::chunkHash($x, $z)] = true; - $spawn = ++$this->spawnChunkLoadCount === $this->spawnThreshold; + $spawn = $this->spawnChunkLoadCount++ === $this->spawnThreshold; $this->networkSession->startUsingChunk($x, $z, $spawn); if($spawn){