135136137138139140141142143144145
ItemTemplate template = null; try { if (itemElement.getName().equalsIgnoreCase("weapon")) { if (!set.containsKey("class")) { if ((slot & ItemTemplate.SLOT_L_HAND) > 0) { set.set("class", ItemTemplate.ItemClass.ARMOR); }
ItemTemplate template = null; try { if (itemElement.getName().equalsIgnoreCase("armor")) { if (!set.containsKey("class")) { if ((slot & ItemTemplate.SLOTS_ARMOR) > 0) { set.set("class", ItemTemplate.ItemClass.ARMOR); }