mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +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,8 +118,8 @@ public abstract class GameCommanderImpl extends GameImpl {
|
|||
Player player = getPlayer(playerId);
|
||||
TargetCardInHand target = new TargetCardInHand(1, player.getHand().size(), new FilterCard("card to mulligan"));
|
||||
target.setNotTarget(true);
|
||||
//target.setRequired(true);
|
||||
if(player.choose(Outcome.Exile, player.getHand(), target, this)){
|
||||
target.setRequired(false);
|
||||
if (player.choose(Outcome.Exile, player.getHand(), target, this)){
|
||||
int numCards = target.getTargets().size();
|
||||
for(UUID uuid : target.getTargets()){
|
||||
Card card = player.getHand().get(uuid, this);
|
||||
|
|
Loading…
Reference in a new issue