mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-25 08:38:45 +01:00
SPIGOT-4342: Fix PlayerMoveEvent from pitch/yaw incorrect
This commit is contained in:
parent
ee5efeb0dc
commit
c88ae6b195
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue