From 6a0cc4e1225818a21ca728cb4eac27c68a67b1d2 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Thu, 16 May 2013 18:13:08 +0200 Subject: [PATCH] Fixed teleport pitch --- src/Player.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Player.php b/src/Player.php index a64b66de50..849131c172 100644 --- a/src/Player.php +++ b/src/Player.php @@ -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;