|
|
|
@ -1892,8 +1892,9 @@ public class CharacterItemManager {
@@ -1892,8 +1892,9 @@ public class CharacterItemManager {
|
|
|
|
|
synchronized (this.equipOrder) { |
|
|
|
|
synchronized (this.equipped) { |
|
|
|
|
for (int slot : this.equipOrder) { |
|
|
|
|
if (this.equipped.containsKey(slot)) |
|
|
|
|
ret.add(this.equipped.get(slot)); |
|
|
|
|
Enum.EquipSlotType slotType = Enum.EquipSlotType.values()[slot]; |
|
|
|
|
if (this.equipped.containsKey(slotType)) |
|
|
|
|
ret.add(this.equipped.get(slotType)); |
|
|
|
|
} |
|
|
|
|
if (ret.size() != this.equipped.size()) |
|
|
|
|
//missed adding some items, figure out what.
|
|
|
|
|