small fix

This commit is contained in:
GameHerobrine 2026-01-03 15:57:35 +03:00
parent 4c072e91cd
commit 8555a06dda

View file

@ -1045,7 +1045,7 @@ class Entity extends Position
$pk = new MovePlayerPacket();
$pk->eid = $this->eid;
$pk->x = $this->x;
$pk->y = $this->y - 1 - ($this->player->isSleeping ? 0.7375 : 0);
$pk->y = $this->y - ($this->player->isSleeping ? 1.7375 : 0);
$pk->z = $this->z;
$pk->yaw = $this->yaw;
$pk->pitch = $this->pitch;