mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-01-11 10:57:47 +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()))
|
if (!NMSImpl.isNavigationFinished(this.a.getNavigation()))
|
||||||
return;
|
return;
|
||||||
this.a.pitch = 0.0F;
|
this.a.pitch = 0.0F;
|
||||||
|
this.a.aI = this.a.aK;
|
||||||
if (this.d) {
|
if (this.d) {
|
||||||
this.d = false;
|
this.d = false;
|
||||||
|
|
||||||
@ -41,8 +42,9 @@ public class PlayerControllerLook {
|
|||||||
while (this.a.aK < -180F) {
|
while (this.a.aK < -180F) {
|
||||||
this.a.aK += 360F;
|
this.a.aK += 360F;
|
||||||
}
|
}
|
||||||
|
System.out.println(this.a.aK);
|
||||||
} else {
|
} 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);
|
float f3 = MathHelper.g(this.a.aK - this.a.aI);
|
||||||
if (!this.a.getNavigation().m()) {
|
if (!this.a.getNavigation().m()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user