|
|
|
@ -2159,8 +2159,10 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -2159,8 +2159,10 @@ public class Mob extends AbstractIntelligenceAgent {
|
|
|
|
|
Vector3fImmutable newPatrolPoint = Vector3fImmutable.getRandomPointInCircle(this.getBindLoc(), patrolRadius); |
|
|
|
|
this.patrolPoints.add(newPatrolPoint); |
|
|
|
|
|
|
|
|
|
if (i == 1) |
|
|
|
|
if (i == 1) { |
|
|
|
|
MovementManager.translocate(this, newPatrolPoint, null); |
|
|
|
|
WorldGrid.updateObject(this); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|