From 2b83db7bba5c19df35a6a2fcdc3684775f621d46 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Mon, 21 Aug 2023 19:48:44 -0500 Subject: [PATCH] moved initial loadInventory call to runAfterLoad --- src/engine/objects/Mob.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index 74cf0f8c..3328caa3 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -980,9 +980,6 @@ public class Mob extends AbstractIntelligenceAgent { else this.currentID = this.dbID; - if (!isPet && !isSiege && !this.isPlayerGuard) - loadInventory(); - //store mobs by Database ID if (!isPet && !isSiege) @@ -1931,7 +1928,7 @@ public class Mob extends AbstractIntelligenceAgent { // Initialize inventory this.charItemManager = new CharacterItemManager(this); - + this.loadInventory(); try { if (this.equipmentSetID != 0) this.equip = MobBase.loadEquipmentSet(this.equipmentSetID);