mob ai work
This commit is contained in:
1 parent
40c77df0fe
commit
c581d19990
2 files changed
+3
-2
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user