mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
Fixed teleport pitch
This commit is contained in:
parent
beb84ca013
commit
6a0cc4e122
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue