Merge pull request #2573 from Dilnu/master

Fix Warp World
This commit is contained in:
Samuel Sandeen 2016-11-07 08:10:02 -05:00 committed by GitHub
commit 69d6b2c8f5

View file

@ -152,7 +152,7 @@ class WarpWorldEffect extends OneShotEffect {
if (card != null && (card.getCardType().contains(CardType.ARTIFACT) if (card != null && (card.getCardType().contains(CardType.ARTIFACT)
|| card.getCardType().contains(CardType.CREATURE) || card.getCardType().contains(CardType.CREATURE)
|| card.getCardType().contains(CardType.LAND))) { || card.getCardType().contains(CardType.LAND))) {
card.putOntoBattlefield(game, Zone.HAND, source.getSourceId(), player.getId()); card.putOntoBattlefield(game, Zone.LIBRARY, source.getSourceId(), player.getId());
cards.remove(card); cards.remove(card);
} }
} }
@ -166,7 +166,7 @@ class WarpWorldEffect extends OneShotEffect {
CardsImpl cards = cardsRevealed.get(player.getId()); CardsImpl cards = cardsRevealed.get(player.getId());
for (Card card : cards.getCards(game)) { for (Card card : cards.getCards(game)) {
if (card != null && card.getCardType().contains(CardType.ENCHANTMENT)) { if (card != null && card.getCardType().contains(CardType.ENCHANTMENT)) {
card.putOntoBattlefield(game, Zone.HAND, source.getSourceId(), player.getId()); card.putOntoBattlefield(game, Zone.LIBRARY, source.getSourceId(), player.getId());
cards.remove(card); cards.remove(card);
} }
} }