From f9f6fd2d2df79730306e2f9678fd97042a22f152 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Thu, 11 Dec 2014 13:21:38 +0100 Subject: [PATCH] Fixed a bug of PutOnLibraryTargetEffect moving the cards always only to top of library (fixes #636). --- .../abilities/effects/common/PutOnLibraryTargetEffect.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mage/src/mage/abilities/effects/common/PutOnLibraryTargetEffect.java b/Mage/src/mage/abilities/effects/common/PutOnLibraryTargetEffect.java index 7ec24da9db..a800e541f2 100644 --- a/Mage/src/mage/abilities/effects/common/PutOnLibraryTargetEffect.java +++ b/Mage/src/mage/abilities/effects/common/PutOnLibraryTargetEffect.java @@ -110,7 +110,7 @@ public class PutOnLibraryTargetEffect extends OneShotEffect { iterator.remove(); } } - owner.putCardsOnTopOfLibrary(cardsPlayer, game, source, true); + owner.putCardsOnTopOfLibrary(cardsPlayer, game, source, onTop); } } while (!permanents.isEmpty()) { @@ -125,7 +125,7 @@ public class PutOnLibraryTargetEffect extends OneShotEffect { iterator.remove(); } } - owner.putCardsOnTopOfLibrary(cardsPlayer, game, source, true); + owner.putCardsOnTopOfLibrary(cardsPlayer, game, source, onTop); } } return true;