diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index c70707d8..158dd83c 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -806,8 +806,6 @@ public class Mob extends AbstractIntelligenceAgent { mob.npcOwner = guardCaptain; mob.spawnTime = (int)(-2.500 * guardCaptain.building.getRank() + 22.5) * 60; mob.BehaviourType = Enum.MobBehaviourType.GuardMinion; - //add mob to zone set of captain - guardCaptain.getParentZone().zoneMobSet.add(mob); return mob; } diff --git a/src/engine/objects/NPC.java b/src/engine/objects/NPC.java index 00642a37..a7907c9b 100644 --- a/src/engine/objects/NPC.java +++ b/src/engine/objects/NPC.java @@ -984,9 +984,6 @@ public class NPC extends AbstractCharacter { (short) 1, (short) 1, (short) 1, guild, (byte) 0, 0, isMob, building, contractID, parent); npcWithoutID.setLevel(level); - if (parent != null) { - npcWithoutID.setRelPos(parent, spawn.x - parent.absX, spawn.y - parent.absY, spawn.z - parent.absZ); - } if (npcWithoutID.mobBase == null) { return null;