[Minor] fixes to sourceId paramter for returning creatures to battlefield.

This commit is contained in:
LevelX2 2013-05-28 07:43:18 +02:00
parent b463bc756f
commit 9c18425b46
2 changed files with 2 additions and 2 deletions

View file

@ -98,7 +98,7 @@ class LilianaVessEffect extends OneShotEffect<LilianaVessEffect> {
for (Player player: game.getPlayers().values()) {
for (Card card: player.getGraveyard().getCards(game)) {
if (card.getCardType().contains(CardType.CREATURE)) {
card.putOntoBattlefield(game, Zone.GRAVEYARD, source.getId(), source.getControllerId());
card.putOntoBattlefield(game, Zone.GRAVEYARD, source.getSourceId(), source.getControllerId());
}
}
}

View file

@ -75,7 +75,7 @@ public class ReturnFromGraveyardToBattlefieldTargetEffect extends OneShotEffect<
if (card != null) {
Player player = game.getPlayer(card.getOwnerId());
if (player != null) {
if (card.putOntoBattlefield(game, Zone.GRAVEYARD, source.getId(), source.getControllerId())) {
if (card.putOntoBattlefield(game, Zone.GRAVEYARD, source.getSourceId(), source.getControllerId())) {
if (tapped) {
Permanent permanent = game.getPermanent(card.getId());
if (permanent != null) {