ItemTable slot variable refactor, plus other minor code changes.
This commit is contained in:
@ -113,7 +113,7 @@ public class AppearanceItemData implements IGameXmlReader
|
||||
}
|
||||
case "bodyPart":
|
||||
{
|
||||
final int part = ItemTable._slots.get(c.getTextContent());
|
||||
final int part = ItemTable.SLOTS.get(c.getTextContent());
|
||||
stone.addBodyPart(part);
|
||||
break;
|
||||
}
|
||||
|
@ -118,7 +118,7 @@ public final class EnchantItemGroupsData implements IGameXmlReader
|
||||
final NamedNodeMap attrs = z.getAttributes();
|
||||
if (attrs.getNamedItem("slot") != null)
|
||||
{
|
||||
rateGroup.addSlot(ItemTable._slots.get(parseString(attrs, "slot")));
|
||||
rateGroup.addSlot(ItemTable.SLOTS.get(parseString(attrs, "slot")));
|
||||
}
|
||||
if (attrs.getNamedItem("magicWeapon") != null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user