Fixed teleport pitch

This commit is contained in:
Shoghi Cervantes Pueyo 2013-05-16 18:13:08 +02:00
parent beb84ca013
commit 6a0cc4e122

View File

@ -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;