Set player yaw as well

This commit is contained in:
fullwall 2016-11-26 10:45:55 +08:00
parent 07a3aeabad
commit 2bd712434d
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}