More PowerEntry work.

This commit is contained in:
MagicBot committed 2024-08-19 06:33:30 -04:00
1 parent cdf67f4ce5
commit 1bcf307f94
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -154,7 +154,7 @@ public class PowersParser {
powerAction.effect_id = arguments[0];
powerAction.minTrains = Integer.parseInt(arguments[1]);
powerAction.maxTrains = Integer.parseInt(arguments[2]);
powerAction.duration = Integer.parseInt(arguments[3]);
powerAction.duration = Float.parseFloat(arguments[3]);
powerAction.curve = mbEnums.CompoundCurveType.valueOf(arguments[4]);
powerAction.stackingCategory = arguments[5];
powerAction.stackingPriority = Integer.parseInt(arguments[6]);