Fix Commander Ninjutsu

This commit is contained in:
garypwn 2018-10-25 17:44:15 -07:00
parent 44d3276046
commit dd32a463ec

View file

@ -199,10 +199,10 @@ class RevealNinjutsuCardCost extends CostImpl {
for (CommandObject coj : game.getState().getCommand()) { for (CommandObject coj : game.getState().getCommand()) {
if (coj != null && coj.getId().equals(ability.getSourceId())) { if (coj != null && coj.getId().equals(ability.getSourceId())) {
card = game.getCard(ability.getSourceId()); card = game.getCard(ability.getSourceId());
}
break; break;
} }
} }
}
if (card != null) { if (card != null) {
Cards cards = new CardsImpl(card); Cards cards = new CardsImpl(card);
player.revealCards("Ninjutsu", cards, game); player.revealCards("Ninjutsu", cards, game);