Browse Source

String usage cleanup

feature-config-parsing2
MagicBot 4 months ago
parent
commit
bedf3761bd
  1. 1
      src/engine/wpak/PowersParser.java

1
src/engine/wpak/PowersParser.java

@ -156,7 +156,6 @@ public class PowersParser { @@ -156,7 +156,6 @@ public class PowersParser {
case "ACTION":
actionEntry = new ActionEntry();
arguments = Arrays.asList(lineValues.get(1).trim().split("\\s+"));
actionEntry.effect_id = arguments.get(0);
actionEntry.minTrains = Integer.parseInt(arguments.get(1));
actionEntry.maxTrains = Integer.parseInt(arguments.get(2));

Loading…
Cancel
Save