mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
Move only own player from eye level
This commit is contained in:
parent
0ab3da88be
commit
1f902d814e
@ -490,7 +490,7 @@ abstract class Entity extends Position implements Metadatable{
|
||||
$pk = new MovePlayerPacket;
|
||||
$pk->eid = $this->id;
|
||||
$pk->x = $this->x;
|
||||
$pk->y = $this->y + 1.62; //teleport from head
|
||||
$pk->y = $this->y; //teleport from head
|
||||
$pk->z = $this->z;
|
||||
$pk->yaw = $this->yaw;
|
||||
$pk->pitch = $this->pitch;
|
||||
|
Loading…
x
Reference in New Issue
Block a user