Change yaw setting for 1.8.8

This commit is contained in:
fullwall 2018-07-24 20:16:24 +08:00
parent 0d5d5c4ac6
commit 829e4a40ae
1 changed files with 3 additions and 1 deletions

View File

@ -22,6 +22,7 @@ public class PlayerControllerLook {
if (!NMSImpl.isNavigationFinished(this.a.getNavigation()))
return;
this.a.pitch = 0.0F;
this.a.aI = this.a.aK;
if (this.d) {
this.d = false;
@ -41,8 +42,9 @@ public class PlayerControllerLook {
while (this.a.aK < -180F) {
this.a.aK += 360F;
}
System.out.println(this.a.aK);
} else {
// this.a.aQ = a(this.a.aQ, this.a.aO, 10.0F);
// this.a.aK = a(this.a.aK, this.a.aI, 10.0F);
}
float f3 = MathHelper.g(this.a.aK - this.a.aI);
if (!this.a.getNavigation().m()) {