Commit b0ec4a59 by Jonathan Thomas

Don't remove Talk behavior when LEAD behavior is added (we want the slight delay)

parent 614f6b92
Pipeline #12723 passed with stages
in 1 minute 50 seconds
...@@ -317,7 +317,6 @@ public class ChatDataManager { ...@@ -317,7 +317,6 @@ public class ChatDataManager {
} else if (behavior.getName().equals("LEAD")) { } else if (behavior.getName().equals("LEAD")) {
LeadPlayerGoal leadGoal = new LeadPlayerGoal(player, entity, entitySpeedMedium); LeadPlayerGoal leadGoal = new LeadPlayerGoal(player, entity, entitySpeedMedium);
EntityBehaviorManager.removeGoal(entity, TalkPlayerGoal.class);
EntityBehaviorManager.removeGoal(entity, FollowPlayerGoal.class); EntityBehaviorManager.removeGoal(entity, FollowPlayerGoal.class);
EntityBehaviorManager.removeGoal(entity, FleePlayerGoal.class); EntityBehaviorManager.removeGoal(entity, FleePlayerGoal.class);
EntityBehaviorManager.removeGoal(entity, AttackPlayerGoal.class); EntityBehaviorManager.removeGoal(entity, AttackPlayerGoal.class);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment