13
0
geforkt von Mirrors/Paper

SPIGOT-4342: Fix PlayerMoveEvent from pitch/yaw incorrect

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2018-09-04 20:57:55 +10:00
Ursprung 7ef8f672e0
Commit 4f9972bcac

Datei anzeigen

@ -571,8 +571,8 @@
+ this.lastPosX = this.teleportPos.x; + this.lastPosX = this.teleportPos.x;
+ this.lastPosY = this.teleportPos.y; + this.lastPosY = this.teleportPos.y;
+ this.lastPosZ = this.teleportPos.z; + this.lastPosZ = this.teleportPos.z;
+ this.lastYaw = f2; + this.lastYaw = f;
+ this.lastPitch = f3; + this.lastPitch = f1;
+ // CraftBukkit end + // CraftBukkit end
+ +
this.A = this.e; this.A = this.e;