mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-11 14:05:35 +00:00
Fixed teleport pitch
This commit is contained in:
parent
beb84ca013
commit
6a0cc4e122
@ -597,7 +597,7 @@ class Player{
|
|||||||
$yaw = $this->entity->yaw;
|
$yaw = $this->entity->yaw;
|
||||||
}
|
}
|
||||||
if($pitch === false){
|
if($pitch === false){
|
||||||
$pitch = $this->entity->yaw;
|
$pitch = $this->entity->pitch;
|
||||||
}
|
}
|
||||||
$this->lastCorrect = $pos;
|
$this->lastCorrect = $pos;
|
||||||
$this->entity->fallY = false;
|
$this->entity->fallY = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user