patrol point index

This commit is contained in:
2023-05-28 13:28:22 -05:00
parent 545163f60b
commit b3b7a78cec
+1 -2
View File
@@ -1980,8 +1980,7 @@ public class Mob extends AbstractIntelligenceAgent {
Vector3fImmutable newPatrolPoint = Vector3fImmutable.getRandomPointInCircle(this.getBindLoc(), patrolRadius);
this.patrolPoints.add(newPatrolPoint);
}
MovementManager.translocate(this,this.patrolPoints.get(1), null);
this.lastPatrolPointIndex = 1;
MovementManager.translocate(this,this.patrolPoints.get(0), null);
}
if (this.BehaviourType == null)
this.BehaviourType = this.getMobBase().fsm;