Cleanup of inventoryManager usage.

This commit is contained in:
2023-08-25 12:27:58 -04:00
parent f283e50018
commit 719c855bdb
2 changed files with 1 additions and 9 deletions
+1 -2
View File
@@ -1827,8 +1827,6 @@ public class Mob extends AbstractIntelligenceAgent {
this.defenseRating = (short) this.mobBase.getDefenseRating();
this.isActive = true;
this.charItemManager.load();
// Load AI for wall archers
if (this.contract != null && NPC.ISWallArcher(this.contract)) {
@@ -1869,6 +1867,7 @@ public class Mob extends AbstractIntelligenceAgent {
// Initialize inventory
this.charItemManager = new CharacterItemManager(this);
this.charItemManager.load();
this.loadInventory();
try {