diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index 59a206b2..11ae2d79 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -207,9 +207,9 @@ public class PowersParser { while (argumentIterator.hasNext()) { EquipmentPreReq equipmentPreReq = new EquipmentPreReq(); - equipmentPreReq.slot = mbEnums.EquipSlotType.valueOf(arguments.get(0)); - equipmentPreReq.skill = arguments.get(1).replaceAll("\"", ""); - equipmentPreReq.required = Integer.parseInt(arguments.get(2)); + equipmentPreReq.slot = mbEnums.EquipSlotType.valueOf(argumentIterator.next()); + equipmentPreReq.skill = argumentIterator.next().replaceAll("\"", ""); + equipmentPreReq.required = Integer.parseInt(argumentIterator.next()); powerEntry.equipmentPreReq.add(equipmentPreReq); } break;