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