From c88ae6b1953fd60b724a2b8e555499b5d0acaa00 Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 4 Sep 2018 20:57:55 +1000 Subject: [PATCH] SPIGOT-4342: Fix PlayerMoveEvent from pitch/yaw incorrect --- nms-patches/PlayerConnection.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nms-patches/PlayerConnection.patch b/nms-patches/PlayerConnection.patch index a33f7b4969..a1e874c263 100644 --- a/nms-patches/PlayerConnection.patch +++ b/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;