From 45b2443982415730a18ee52f2fdf1243b982c6ec Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 15 Jan 2024 07:37:35 -0500 Subject: [PATCH] Log failed equipSet lookups. --- src/engine/objects/NPC.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/engine/objects/NPC.java b/src/engine/objects/NPC.java index ac010ce1..e11e9c8f 100644 --- a/src/engine/objects/NPC.java +++ b/src/engine/objects/NPC.java @@ -906,6 +906,9 @@ public class NPC extends AbstractCharacter { this.charItemManager.load(); + if (equipmentSetID != 0 && LootManager._bootySetMap.get(equipmentSetID) == null) + Logger.error("Invalid equipSet: " + equipmentSetID + " contract: " + this.contractUUID + " npc: " + this.getObjectUUID()); + this.equip = loadEquipmentSet(this.equipmentSetID); if (this.equip == null)