mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-23 09:08:23 +00:00
Fixed CPU/mem leak when teleporting with movement checks disabled, close #231
This commit is contained in:
parent
755f4d232f
commit
ccef0455ab
@ -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(){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user