Equip lookups now use bootymap
This commit is contained in:
1 parent
5d0166a29a
commit
de3818aef6
5 files changed
+2
-53
No files matched your search
@@ -152,7 +152,7 @@ public class MobBase extends AbstractGameObject {
|
||||
if (equipmentSetID == 0)
|
||||
return equip;
|
||||
|
||||
equipList = NPCManager._equipmentSetMap.get(equipmentSetID);
|
||||
equipList = NPCManager._bootySetMap.get(equipmentSetID);
|
||||
|
||||
if (equipList == null)
|
||||
return equip;
|
||||
|
||||
@@ -1645,7 +1645,7 @@ public class NPC extends AbstractCharacter {
|
||||
|
||||
public static boolean UpdateEquipSetID(NPC npc, int equipSetID){
|
||||
|
||||
if (!NPCManager._equipmentSetMap.containsKey(equipSetID))
|
||||
if (!NPCManager._bootySetMap.containsKey(equipSetID))
|
||||
return false;
|
||||
|
||||
if (!DbManager.NPCQueries.UPDATE_EQUIPSET(npc, equipSetID))
|
||||
|
||||
Reference in new issue
Block a user