Merge branch 'master' into mcpe-1.2

This commit is contained in:
Dylan K. Taylor
2017-09-18 10:29:38 +01:00
5 changed files with 12 additions and 11 deletions

View File

@ -654,7 +654,6 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
$this->loaderId = Level::generateChunkLoaderId($this);
$this->chunksPerTick = (int) $this->server->getProperty("chunk-sending.per-tick", 4);
$this->spawnThreshold = (int) (($this->server->getProperty("chunk-sending.spawn-radius", 4) ** 2) * M_PI);
$this->spawnPosition = null;
$this->gamemode = $this->server->getGamemode();
$this->setLevel($this->server->getDefaultLevel());
$this->boundingBox = new AxisAlignedBB(0, 0, 0, 0, 0, 0);