From 4346ed0b1937cc1cf54b2efeed764d5b7328fa8a Mon Sep 17 00:00:00 2001 From: fullwall Date: Mon, 23 Jul 2018 18:09:34 +0800 Subject: [PATCH] Fix an issue with player navigation --- .../citizensnpcs/nms/v1_13_R1/util/PlayerNavigation.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/v1_13_R1/src/main/java/net/citizensnpcs/nms/v1_13_R1/util/PlayerNavigation.java b/v1_13_R1/src/main/java/net/citizensnpcs/nms/v1_13_R1/util/PlayerNavigation.java index 91a991245..932054d77 100644 --- a/v1_13_R1/src/main/java/net/citizensnpcs/nms/v1_13_R1/util/PlayerNavigation.java +++ b/v1_13_R1/src/main/java/net/citizensnpcs/nms/v1_13_R1/util/PlayerNavigation.java @@ -254,7 +254,7 @@ public class PlayerNavigation extends NavigationAbstract { localBlockPosition = localBlockPosition.down(); } if (localBlockPosition.getY() > 0) { - return super.b(localBlockPosition.up()); + return superb(localBlockPosition.up()); } while ((localBlockPosition.getY() < this.b.getHeight()) && (this.b.getType(localBlockPosition).isAir())) { localBlockPosition = localBlockPosition.up(); @@ -267,9 +267,9 @@ public class PlayerNavigation extends NavigationAbstract { && (this.b.getType(localBlockPosition).getMaterial().isBuildable())) { localBlockPosition = localBlockPosition.up(); } - return super.b(localBlockPosition); + return superb(localBlockPosition); } - return super.b(paramBlockPosition); + return superb(paramBlockPosition); } public void b(boolean paramBoolean) {