forked from MagicBane/Server
Log failed equipSet lookups.
This commit is contained in:
@@ -906,6 +906,9 @@ public class NPC extends AbstractCharacter {
|
|||||||
|
|
||||||
this.charItemManager.load();
|
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);
|
this.equip = loadEquipmentSet(this.equipmentSetID);
|
||||||
|
|
||||||
if (this.equip == null)
|
if (this.equip == null)
|
||||||
|
|||||||
Reference in New Issue
Block a user