Fixed a bug of PutOnLibraryTargetEffect moving the cards always only to top of library (fixes #636).

This commit is contained in:
LevelX2 2014-12-11 13:21:38 +01:00
parent c2af7836ab
commit f9f6fd2d2d

View file

@ -110,7 +110,7 @@ public class PutOnLibraryTargetEffect extends OneShotEffect {
iterator.remove(); iterator.remove();
} }
} }
owner.putCardsOnTopOfLibrary(cardsPlayer, game, source, true); owner.putCardsOnTopOfLibrary(cardsPlayer, game, source, onTop);
} }
} }
while (!permanents.isEmpty()) { while (!permanents.isEmpty()) {
@ -125,7 +125,7 @@ public class PutOnLibraryTargetEffect extends OneShotEffect {
iterator.remove(); iterator.remove();
} }
} }
owner.putCardsOnTopOfLibrary(cardsPlayer, game, source, true); owner.putCardsOnTopOfLibrary(cardsPlayer, game, source, onTop);
} }
} }
return true; return true;