forked from MagicBane/Server
Patrol points only set once.
This commit is contained in:
@@ -266,6 +266,7 @@ public class MobAI {
|
||||
|
||||
//guards inherit barracks patrol points dynamically
|
||||
|
||||
if (mob.patrolPoints == null || mob.patrolPoints.isEmpty())
|
||||
if (mob.agentType.equals(Enum.AIAgentType.GUARDCAPTAIN) || mob.agentType.equals(Enum.AIAgentType.GUARDMINION)) {
|
||||
|
||||
Building barracks = mob.building;
|
||||
|
||||
Reference in New Issue
Block a user