From c37832944ea9ec003dba0f792e614067e885b802 Mon Sep 17 00:00:00 2001 From: davidmfritz Date: Thu, 1 Nov 2018 11:51:36 +0100 Subject: [PATCH] Fixed cards to put onto the battlefield to one call Fixed cards to put into exile to one call --- Mage.Sets/src/mage/cards/c/ClearTheLand.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/cards/c/ClearTheLand.java b/Mage.Sets/src/mage/cards/c/ClearTheLand.java index 13b9be2f020..abb2b345579 100644 --- a/Mage.Sets/src/mage/cards/c/ClearTheLand.java +++ b/Mage.Sets/src/mage/cards/c/ClearTheLand.java @@ -71,13 +71,17 @@ class ClearTheLandEffect extends OneShotEffect { cardsToReveal.addAll(library.getTopCards(game, 5)); if (!cardsToReveal.isEmpty()) { player.revealCards(source, "Revealed cards for " + player.getName(), cardsToReveal, game); + Cards cardsToPutOnBattlefield = new CardsImpl(); + Cards cardsToExile = new CardsImpl(); for (Card card : cardsToReveal.getCards(game)) { if (card.isLand()) { - player.moveCards(card, Zone.BATTLEFIELD, source, game, tapped, false, true, null); + cardsToPutOnBattlefield.add(card); } else { - player.moveCards(card, Zone.EXILED, source, game); + cardsToExile.add(card); } } + player.moveCards(cardsToPutOnBattlefield.getCards(game), Zone.BATTLEFIELD, source, game, tapped, false, true, null); + player.moveCards(cardsToExile.getCards(game), Zone.EXILED, source, game); } } }