mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-22 18:45:29 +01:00
Fix cancellation order for updateMountedStatus
This commit is contained in:
parent
f4c28e9085
commit
2863d4b64c
@ -282,7 +282,6 @@ public class CitizensNavigator implements Navigator, Runnable {
|
||||
Entity vehicle = NMS.getBukkitVehicle(npc.getEntity());
|
||||
if (!(vehicle instanceof NPCHolder))
|
||||
return;
|
||||
cancelNavigation();
|
||||
NPC mount = ((NPCHolder) vehicle).getNPC();
|
||||
switch (getTargetType()) {
|
||||
case ENTITY:
|
||||
@ -294,6 +293,7 @@ public class CitizensNavigator implements Navigator, Runnable {
|
||||
default:
|
||||
return;
|
||||
}
|
||||
cancelNavigation();
|
||||
}
|
||||
|
||||
private void updatePathfindingRange() {
|
||||
|
Loading…
Reference in New Issue
Block a user