Commit bafaed2f by Jonathan Thomas

Add friendship to broadcast message

parent 2ac69cb8
......@@ -227,7 +227,7 @@ public class ChatDataManager {
} else if (behavior.getName().equals("UNFOLLOW")) {
EntityBehaviorManager.removeGoal(entity, FollowPlayerGoal.class);
} else if (behavior.getName().equals("FRIENDSHIP")) {
friendship = Math.max(-3, Math.min(3, behavior.getArgument()));
this.friendship = Math.max(-3, Math.min(3, behavior.getArgument()));
}
}
......
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