Skip to content

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Apr 8, 2020
1 parent 14ebf26 commit 7d89ffc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ private MCNavigator getTargetNavigator(final org.bukkit.entity.Entity entity, fi
// 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());
}
Expand Down

0 comments on commit 7d89ffc

Please sign in to comment.