mobs start the game at their first patrol point index

This commit is contained in:
2023-06-25 19:32:49 -05:00
parent 01b8b67ffd
commit 7b43440fae
+2
View File
@@ -1979,6 +1979,8 @@ public class Mob extends AbstractIntelligenceAgent {
Vector3fImmutable newPatrolPoint = Vector3fImmutable.getRandomPointInCircle(this.getBindLoc(), patrolRadius);
this.patrolPoints.add(newPatrolPoint);
if(i == 1)
MovementManager.translocate(this,newPatrolPoint,null);
}
}
if (this.BehaviourType == null)