Minor edits

This commit is contained in:
Zzooouhh 2017-11-09 13:43:28 +01:00 committed by GitHub
parent 570199e0b3
commit 568eafc7ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,14 +93,14 @@ class ScroungeEffect extends OneShotEffect {
if (chosenCard.canChoose(opponent.getId(), game)) {
opponent.chooseTarget(Outcome.ReturnToHand, chosenCard, source, game);
Card card = game.getCard(chosenCard.getFirstTarget());
game.informPlayers("Scrounge: " + opponent.getLogName() + " has chosen " + card.getLogName());
if (card != null) {
game.informPlayers ("Scrounge: " + opponent.getLogName() + " has chosen " + card.getLogName());
Cards cardsToMove = new CardsImpl();
cardsToMove.add(card);
controller.moveCards(cardsToMove, Zone.BATTLEFIELD, source, game);
}
return true;
}
return true;
}
return false;
}