Test framework: fixed that add counters command adds wrong amount of counters;

This commit is contained in:
Oleg Agafonov 2019-07-12 19:41:06 +04:00
parent 02b1e86f20
commit 5cf95d3ed1

View file

@ -576,7 +576,8 @@ public class TestPlayer implements Player {
if (permanent.getName().equals(groups[0])) { if (permanent.getName().equals(groups[0])) {
Counter counter = new Counter(groups[1], Integer.parseInt(groups[2])); Counter counter = new Counter(groups[1], Integer.parseInt(groups[2]));
permanent.addCounters(counter, null, game); permanent.addCounters(counter, null, game);
break; actions.remove(action);
return true;
} }
} }
} else if (action.getAction().startsWith("waitStackResolved")) { } else if (action.getAction().startsWith("waitStackResolved")) {