From 24c16e6cf10e600c6f5b78e9b1ae5daed84b7efa Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 12 May 2024 16:51:49 -0500 Subject: [PATCH] mob resist issue --- src/engine/objects/Mob.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index 9dde5d77..928c5e56 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -217,6 +217,9 @@ public class Mob extends AbstractIntelligenceAgent { break; } } + if(MobBase.mobbase_race_types.size() == 0){ + DbManager.MobBaseQueries.LOAD_ALL_MOBBASE_RACES(); + } int mobbaseID = mob.getMobBaseID(); if(mobbaseID != 0) { switch (MobBase.mobbase_race_types.get(mobbaseID)) {