mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
Test framework: fixed that add counters command adds wrong amount of counters;
This commit is contained in:
parent
02b1e86f20
commit
5cf95d3ed1
1 changed files with 2 additions and 1 deletions
|
@ -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")) {
|
||||||
|
|
Loading…
Reference in a new issue