Don't reset pitch on older versions of Minecraft

This commit is contained in:
fullwall 2020-02-25 13:35:44 +08:00
parent 7f7475e0ff
commit 8843454af0
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ public class PlayerControllerLook {
public void a() {
if (!NMSImpl.isNavigationFinished(this.a.getNavigation()))
return;
this.a.pitch = 0.0F;
// this.a.pitch = 0.0F;
if (this.d) {
this.d = false;

View File

@ -21,7 +21,7 @@ public class PlayerControllerLook {
public void a() {
if (!NMSImpl.isNavigationFinished(this.a.getNavigation()))
return;
this.a.pitch = 0.0F;
// this.a.pitch = 0.0F;
if (this.d) {
this.d = false;

View File

@ -21,7 +21,7 @@ public class PlayerControllerLook {
public void a() {
if (!NMSImpl.isNavigationFinished(this.a.getNavigation()))
return;
this.a.pitch = 0.0F;
// this.a.pitch = 0.0F;
this.a.aI = this.a.aK;
if (this.d) {
this.d = false;