mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-25 20:25:19 +01:00
Don't reset pitch on older versions of Minecraft
This commit is contained in:
parent
7f7475e0ff
commit
8843454af0
@ -21,7 +21,7 @@ public class PlayerControllerLook {
|
|||||||
public void a() {
|
public void a() {
|
||||||
if (!NMSImpl.isNavigationFinished(this.a.getNavigation()))
|
if (!NMSImpl.isNavigationFinished(this.a.getNavigation()))
|
||||||
return;
|
return;
|
||||||
this.a.pitch = 0.0F;
|
// this.a.pitch = 0.0F;
|
||||||
if (this.d) {
|
if (this.d) {
|
||||||
this.d = false;
|
this.d = false;
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ public class PlayerControllerLook {
|
|||||||
public void a() {
|
public void a() {
|
||||||
if (!NMSImpl.isNavigationFinished(this.a.getNavigation()))
|
if (!NMSImpl.isNavigationFinished(this.a.getNavigation()))
|
||||||
return;
|
return;
|
||||||
this.a.pitch = 0.0F;
|
// this.a.pitch = 0.0F;
|
||||||
if (this.d) {
|
if (this.d) {
|
||||||
this.d = false;
|
this.d = false;
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ public class PlayerControllerLook {
|
|||||||
public void a() {
|
public void a() {
|
||||||
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;
|
this.a.aI = this.a.aK;
|
||||||
if (this.d) {
|
if (this.d) {
|
||||||
this.d = false;
|
this.d = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user