Merge pull request #5194 from magefree/rystan-patch-3

Fix Field of Ruin search logic
This commit is contained in:
LevelX2 2018-08-15 08:16:46 +02:00 committed by GitHub
commit 3abd153de0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,7 +91,7 @@ class FieldOfRuinEffect extends OneShotEffect {
if (player != null) { if (player != null) {
TargetCardInLibrary target = new TargetCardInLibrary(0, 1, StaticFilters.FILTER_CARD_BASIC_LAND); TargetCardInLibrary target = new TargetCardInLibrary(0, 1, StaticFilters.FILTER_CARD_BASIC_LAND);
if (player.searchLibrary(target, game)) { if (player.searchLibrary(target, game)) {
player.moveCards(new CardsImpl(target.getTargets()), Zone.BATTLEFIELD, source, game); player.moveCards(new CardsImpl(target.getTargets()).getCards(game), Zone.BATTLEFIELD, source, game);
player.shuffleLibrary(source, game); player.shuffleLibrary(source, game);
} }
} }