From 3bca76d4c865bd4cde4224a75107c9e5ddebdf1b Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 25 Aug 2023 14:38:09 -0400 Subject: [PATCH] Setloc to spawn minion. --- src/engine/objects/Mob.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index 5c4e0575..5d558974 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -662,11 +662,11 @@ public class Mob extends AbstractIntelligenceAgent { minionMobile.BehaviourType = Enum.MobBehaviourType.GuardMinion; minionMobile.guardedCity = guardCaptain.guardedCity; minionMobile.parentZoneUUID = guardCaptain.parentZoneUUID; - MovementManager.translocate(minionMobile, guardCaptain.bindLoc, guardCaptain.region); minionMobile.bindLoc = guardCaptain.bindLoc; minionMobile.runAfterLoad(); minionMobile.despawned = true; + minionMobile.setLoc(minionMobile.bindLoc); minionMobile.despawn(); //grab equipment and name from minionbase.