mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-03 08:39:53 +00:00
Fixed RotateHeadPacket not having pitch
This commit is contained in:
parent
8739017002
commit
11c9972eb9
@ -1495,7 +1495,7 @@ class Player{
|
|||||||
$this->teleport($this->lastCorrect, $this->entity->yaw, $this->entity->pitch, false);
|
$this->teleport($this->lastCorrect, $this->entity->yaw, $this->entity->pitch, false);
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
$this->entity->setPosition($this->entity, $packet->yaw, $packet->pitch);
|
$this->entity->setPosition($this->entity, $packet->yaw, $this->entity->pitch);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user