mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-09 03:06:55 +00:00
Fixed teleport pitch
This commit is contained in:
@ -597,7 +597,7 @@ class Player{
|
||||
$yaw = $this->entity->yaw;
|
||||
}
|
||||
if($pitch === false){
|
||||
$pitch = $this->entity->yaw;
|
||||
$pitch = $this->entity->pitch;
|
||||
}
|
||||
$this->lastCorrect = $pos;
|
||||
$this->entity->fallY = false;
|
||||
|
Reference in New Issue
Block a user