mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-12-23 09:37:35 +01:00
Change yaw setting for 1.8.8
This commit is contained in:
parent
0d5d5c4ac6
commit
829e4a40ae
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user