* From the Ashes - Fixed that all searched basic lands did came back under the control of the controller of From the Ashes.

This commit is contained in:
LevelX2 2013-12-09 00:05:01 +01:00
parent 5cb2823e3d
commit 95ce886534

View file

@ -47,7 +47,6 @@ import mage.filter.predicate.mageobject.SupertypePredicate;
import mage.game.Game;
import mage.game.permanent.Permanent;
import mage.players.Player;
import mage.target.Target;
import mage.target.common.TargetCardInLibrary;
/**
@ -123,7 +122,7 @@ class FromTheAshesEffect extends OneShotEffect<FromTheAshesEffect> {
for (UUID cardId: (List<UUID>)target.getTargets()) {
Card card = player.getLibrary().getCard(cardId, game);
if (card != null) {
card.putOntoBattlefield(game, Zone.LIBRARY, source.getSourceId(), source.getControllerId(), false);
card.putOntoBattlefield(game, Zone.LIBRARY, source.getSourceId(), player.getId(), false);
}
}
}