mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-01-11 02:49:11 +01:00
Fix compile error
This commit is contained in:
parent
14ebf26935
commit
7d89ffcd61
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user