Fixed a problem with Tokens of the CopyEffect (e.g. with Essence of the Wild and Back from the Bring in play).

This commit is contained in:
LevelX2 2016-03-07 17:34:03 +01:00
parent 397b874b2d
commit 0a31a8b479
3 changed files with 39 additions and 3 deletions

View file

@ -103,7 +103,7 @@ class BackFromTheBrinkCost extends CostImpl {
Player controller = game.getPlayer(controllerId);
if (controller != null) {
Card card = controller.getGraveyard().get(targets.getFirstTarget(), game);
if (card != null && controller.moveCards(card, null, Zone.EXILED, ability, game)) {
if (card != null && controller.moveCards(card, Zone.EXILED, ability, game)) {
ability.getEffects().get(0).setTargetPointer(new FixedTarget(card.getId()));
paid = card.getManaCost().pay(ability, game, sourceId, controllerId, noMana);
}