mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-22 10:36:10 +01:00
Set player yaw as well
This commit is contained in:
parent
07a3aeabad
commit
2bd712434d
@ -32,6 +32,7 @@ public class PlayerControllerLook {
|
||||
float f2 = (float) -(MathHelper.c(d2, d4) * 57.2957763671875D);
|
||||
this.a.pitch = a(this.a.pitch, f2, this.c);
|
||||
this.a.aP = a(this.a.aP, f1, this.b);
|
||||
this.a.yaw = this.a.aP;
|
||||
} else {
|
||||
this.a.aP = a(this.a.aP, this.a.aN, 10.0F);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user