More Enum work
This commit is contained in:
1 parent
63116551bc
commit
e4e8086e41
2 files changed
+3
-3
No files matched your search
@@ -86,9 +86,9 @@ public class PowersParser {
|
||||
power.icon = Integer.parseInt(iterator.next());
|
||||
power.powerBase = iterator.next().replaceAll("\"", "");
|
||||
powerEntry.powers.add(power);
|
||||
powerEntry.target_type = iterator.next();
|
||||
powerEntry.target_type = mbEnums.PowerTargetType.valueOf(iterator.next());
|
||||
} else
|
||||
powerEntry.target_type = nextValue;
|
||||
powerEntry.target_type = mbEnums.PowerTargetType.valueOf(nextValue);
|
||||
|
||||
powerEntry.range = Integer.parseInt(iterator.next());
|
||||
powerEntry.areaType = iterator.next();
|
||||
|
||||
Reference in new issue
Block a user