From 7d89ffcd61bb27a22bd41091336ed3d349992293 Mon Sep 17 00:00:00 2001 From: fullwall Date: Thu, 9 Apr 2020 00:20:14 +0800 Subject: [PATCH] Fix compile error --- .../main/java/net/citizensnpcs/nms/v1_8_R3/util/NMSImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v1_8_R3/src/main/java/net/citizensnpcs/nms/v1_8_R3/util/NMSImpl.java b/v1_8_R3/src/main/java/net/citizensnpcs/nms/v1_8_R3/util/NMSImpl.java index d44cb4abc..9bd662d0b 100644 --- a/v1_8_R3/src/main/java/net/citizensnpcs/nms/v1_8_R3/util/NMSImpl.java +++ b/v1_8_R3/src/main/java/net/citizensnpcs/nms/v1_8_R3/util/NMSImpl.java @@ -413,7 +413,7 @@ public class NMSImpl implements NMSBridge { // navigation won't execute, and calling entity.move doesn't // entirely fix the problem. final NavigationAbstract navigation = NMSImpl.getNavigation(entity); - boolean oldAvoidsWater = navigation instanceof Navigation ? ((Navigation) navigation).e() : false; + final boolean oldAvoidsWater = navigation instanceof Navigation ? ((Navigation) navigation).e() : false; if (navigation instanceof Navigation) { ((Navigation) navigation).a(params.avoidWater()); }