* Commander - Fixed commander mulligan select card to exile can't stop bug.

This commit is contained in:
LevelX2 2014-06-18 08:41:09 +02:00
parent 5bc1036ef9
commit 30cfe6193e

View file

@ -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()){