More enum work.

This commit is contained in:
MagicBot committed 2024-08-17 16:20:21 -04:00
1 parent 23bf491d4b
commit 08ac0b8d8d
3 files changed
+14 -2

No files matched your search

+1 -1
View File
@@ -90,7 +90,7 @@ public class PowersParser {
powerEntry.range = Integer.parseInt(iterator.next());
powerEntry.areaType = mbEnums.AreaType.valueOf(iterator.next());
powerEntry.areaRange = Integer.parseInt(iterator.next());
powerEntry.excludeType = iterator.next();
powerEntry.excludeType = mbEnums.ExcludeType.valueOf(iterator.next());
powerEntry.costType = mbEnums.CostType.valueOf(iterator.next());
powerEntry.cost = Float.parseFloat(iterator.next());
powerEntry.difficulty = Float.parseFloat(iterator.next());