duplicate zoneMobSet additions fixed

This commit is contained in:
FatBoy committed 2023-05-09 20:27:24 -05:00
1 parent f99698feda
commit 584ad46b75
3 files changed
+9 -3

No files matched your search

+2
View File
@@ -806,6 +806,8 @@ public class Mob extends AbstractIntelligenceAgent {
mob.npcOwner = guardCaptain;
mob.spawnTime = (int)(-2.500 * guardCaptain.building.getRank() + 22.5) * 60;
mob.BehaviourType = Enum.MobBehaviourType.GuardMinion;
mob.parentZone = parent;
parent.zoneMobSet.add(mob);
return mob;
}