mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Fix Warp World not putting anything onto the Battlefield.
Warp World was falsely claiming that the revealed cards were in a Player's Hand. The zones code that checks correctness determined this was a lie.
This commit is contained in:
parent
39ba6f5d4c
commit
aac45f2ad2
1 changed files with 2 additions and 2 deletions
|
@ -152,7 +152,7 @@ class WarpWorldEffect extends OneShotEffect {
|
|||
if (card != null && (card.getCardType().contains(CardType.ARTIFACT)
|
||||
|| card.getCardType().contains(CardType.CREATURE)
|
||||
|| 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);
|
||||
}
|
||||
}
|
||||
|
@ -166,7 +166,7 @@ class WarpWorldEffect extends OneShotEffect {
|
|||
CardsImpl cards = cardsRevealed.get(player.getId());
|
||||
for (Card card : cards.getCards(game)) {
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue