fixed Undying Flames not exiling cards

This commit is contained in:
Evan Kranzler 2018-06-05 22:55:04 -04:00
parent 161edc0654
commit 8294b251e1

View file

@ -1,4 +1,3 @@
package mage.cards.u;
import java.util.UUID;
@ -64,7 +63,7 @@ class UndyingFlamesEffect extends OneShotEffect {
while (controller.getLibrary().hasCards() && controller.isInGame()) {
Card card = controller.getLibrary().getFromTop(game);
if (card != null) {
controller.moveCards(card, Zone.LIBRARY, source, game);
controller.moveCards(card, Zone.EXILED, source, game);
if (!card.isLand()) {
new DamageTargetEffect(card.getConvertedManaCost()).apply(game, source);
break;