From 71fafb168c3f30158f904551ff5609fde28ff8c8 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Tue, 4 Feb 2014 22:19:26 +0100 Subject: [PATCH] * Siren of the Silent Song - Fixed a bug that the controller also wrongly put a card into the graveyard from library. --- .../PutTopCardOfLibraryIntoGraveEachPlayerEffect.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Mage/src/mage/abilities/effects/common/PutTopCardOfLibraryIntoGraveEachPlayerEffect.java b/Mage/src/mage/abilities/effects/common/PutTopCardOfLibraryIntoGraveEachPlayerEffect.java index 8b9e9d37f66..36270e0f87e 100644 --- a/Mage/src/mage/abilities/effects/common/PutTopCardOfLibraryIntoGraveEachPlayerEffect.java +++ b/Mage/src/mage/abilities/effects/common/PutTopCardOfLibraryIntoGraveEachPlayerEffect.java @@ -88,16 +88,10 @@ public class PutTopCardOfLibraryIntoGraveEachPlayerEffect extends OneShotEffect< putCardsToGravecard(playerId, source, game); } } + break; default: throw new UnsupportedOperationException("TargetController type not supported."); } - int cardsCount = Math.min(numberCards, player.getLibrary().size()); - for (int i = 0; i < cardsCount; i++) { - Card card = player.getLibrary().removeFromTop(game); - if (card != null) { - card.moveToZone(Zone.GRAVEYARD, source.getId(), game, true); - } - } return true; } return false;