player is spawned after 1st MOVE_PACKET is sent

This commit is contained in:
GameHerobrine 2023-07-02 19:08:40 +03:00
parent 6b765abbe3
commit 2858b43748
2 changed files with 9 additions and 8 deletions

View file

@ -715,6 +715,8 @@ class Entity extends Position
if($this->speed <= 9 or ($this->speed <= 20 and ($this->player->gamemode & 0x01) === 0x01)){
$this->player->lastCorrect = new Vector3($this->last[0], $this->last[1], $this->last[2]);
}
$hasUpdate = true;
}
}
if($this->knockbackTime > 0){