mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
Fix player targets processing in tests
This commit is contained in:
parent
d8060a76e4
commit
88ca1ec1b0
1 changed files with 1 additions and 0 deletions
|
|
@ -759,6 +759,7 @@ public class TestPlayer implements Player {
|
|||
if (player.getName().equals(playerName)
|
||||
&& ((TargetPlayer) target).canTarget(computerPlayer.getId(), player.getId(), source, game)) {
|
||||
target.add(player.getId(), game);
|
||||
targets.remove(targetDefinition);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue