Fixed CPU/mem leak when teleporting with movement checks disabled, close #231

This commit is contained in:
Dylan K. Taylor 2017-01-25 19:45:47 +00:00
parent 755f4d232f
commit ccef0455ab

View File

@ -3416,6 +3416,8 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
$pk->eid = 0; $pk->eid = 0;
$this->dataPacket($pk); $this->dataPacket($pk);
} }
$this->newPosition = null;
} }
protected function checkChunks(){ protected function checkChunks(){