forked from MagicBane/Server
More enum work.
This commit is contained in:
@@ -88,7 +88,7 @@ public class PowersParser {
|
||||
powerEntry.target_type = mbEnums.PowerTargetType.valueOf(nextValue);
|
||||
|
||||
powerEntry.range = Integer.parseInt(iterator.next());
|
||||
powerEntry.areaType = iterator.next();
|
||||
powerEntry.areaType = mbEnums.AreaType.valueOf(iterator.next());
|
||||
powerEntry.areaRange = Integer.parseInt(iterator.next());
|
||||
powerEntry.excludeType = iterator.next();
|
||||
powerEntry.costType = mbEnums.CostType.valueOf(iterator.next());
|
||||
|
||||
Reference in New Issue
Block a user