From 4f9972bcac0480bc553de548428364f45363ad70 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Tue, 4 Sep 2018 20:57:55 +1000 Subject: [PATCH] SPIGOT-4342: Fix PlayerMoveEvent from pitch/yaw incorrect By: md_5 --- paper-server/nms-patches/PlayerConnection.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paper-server/nms-patches/PlayerConnection.patch b/paper-server/nms-patches/PlayerConnection.patch index a33f7b4969..a1e874c263 100644 --- a/paper-server/nms-patches/PlayerConnection.patch +++ b/paper-server/nms-patches/PlayerConnection.patch @@ -571,8 +571,8 @@ + this.lastPosX = this.teleportPos.x; + this.lastPosY = this.teleportPos.y; + this.lastPosZ = this.teleportPos.z; -+ this.lastYaw = f2; -+ this.lastPitch = f3; ++ this.lastYaw = f; ++ this.lastPitch = f1; + // CraftBukkit end + this.A = this.e;