diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index 8e4171ec..5ebaa63a 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -24,6 +24,7 @@ import engine.math.Quaternion; import engine.math.Vector3f; import engine.math.Vector3fImmutable; import engine.mobileAI.Threads.MobAIThread; +import engine.mobileAI.utilities.MovementUtilities; import engine.net.ByteBufferWriter; import engine.net.Dispatch; import engine.net.DispatchMessage; @@ -2160,8 +2161,7 @@ public class Mob extends AbstractIntelligenceAgent { this.patrolPoints.add(newPatrolPoint); if (i == 1) { - this.setLoc(newPatrolPoint); - WorldGrid.updateObject(this); + MovementUtilities.aiMove(this,newPatrolPoint,true); } } }