Fix compile error

This commit is contained in:
fullwall 2020-04-09 00:20:14 +08:00
parent 14ebf26935
commit 7d89ffcd61
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}