head yaw fixed

This commit is contained in:
GameHerobrine 2024-01-09 08:23:37 +03:00
parent 1ac7179a97
commit 9d6322f587
4 changed files with 47 additions and 6 deletions

View file

@ -1242,6 +1242,7 @@ class Entity extends Position
$this->last[3] = $this->yaw;
$this->last[4] = $this->pitch;
$this->last[5] = microtime(true);
$this->lastHeadYaw = $this->headYaw;
}
public function getPosition($round = false)