mirror of
https://github.com/correl/mage.git
synced 2024-12-27 03:00:13 +00:00
* Commander - Fixed commander mulligan select card to exile can't stop bug.
This commit is contained in:
parent
5bc1036ef9
commit
30cfe6193e
1 changed files with 2 additions and 2 deletions
|
@ -118,7 +118,7 @@ public abstract class GameCommanderImpl extends GameImpl {
|
||||||
Player player = getPlayer(playerId);
|
Player player = getPlayer(playerId);
|
||||||
TargetCardInHand target = new TargetCardInHand(1, player.getHand().size(), new FilterCard("card to mulligan"));
|
TargetCardInHand target = new TargetCardInHand(1, player.getHand().size(), new FilterCard("card to mulligan"));
|
||||||
target.setNotTarget(true);
|
target.setNotTarget(true);
|
||||||
//target.setRequired(true);
|
target.setRequired(false);
|
||||||
if (player.choose(Outcome.Exile, player.getHand(), target, this)){
|
if (player.choose(Outcome.Exile, player.getHand(), target, this)){
|
||||||
int numCards = target.getTargets().size();
|
int numCards = target.getTargets().size();
|
||||||
for(UUID uuid : target.getTargets()){
|
for(UUID uuid : target.getTargets()){
|
||||||
|
|
Loading…
Reference in a new issue