diff --git a/src/main/java/net/citizensnpcs/npc/ai/CitizensNavigator.java b/src/main/java/net/citizensnpcs/npc/ai/CitizensNavigator.java index 7234ac314..ad149c85d 100644 --- a/src/main/java/net/citizensnpcs/npc/ai/CitizensNavigator.java +++ b/src/main/java/net/citizensnpcs/npc/ai/CitizensNavigator.java @@ -112,6 +112,7 @@ public class CitizensNavigator implements Navigator { cancelNavigation(); return; } + localParams = defaultParams.clone(); PathStrategy newStrategy = new MCTargetStrategy(npc, target, aggressive, localParams); switchStrategyTo(newStrategy); } @@ -124,6 +125,7 @@ public class CitizensNavigator implements Navigator { cancelNavigation(); return; } + localParams = defaultParams.clone(); PathStrategy newStrategy = new MCNavigationStrategy(npc, target, localParams); switchStrategyTo(newStrategy); }