From fb82303b854ec051c5e676f6e7a218cec28b3736 Mon Sep 17 00:00:00 2001 From: Samuel Sandeen Date: Sat, 8 Feb 2020 19:29:12 -0500 Subject: [PATCH] Fix Medomai's Prophecy (#6271) Fixes https://github.com/magefree/mage/issues/6262 lookAtCards replaces old instances with the same name. --- Mage.Sets/src/mage/cards/m/MedomaisProphecy.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Mage.Sets/src/mage/cards/m/MedomaisProphecy.java b/Mage.Sets/src/mage/cards/m/MedomaisProphecy.java index b02028d7d2..64dbb24e0d 100644 --- a/Mage.Sets/src/mage/cards/m/MedomaisProphecy.java +++ b/Mage.Sets/src/mage/cards/m/MedomaisProphecy.java @@ -146,9 +146,8 @@ class MedomaisProphecyLookEffect extends OneShotEffect { .getPlayersInRange(source.getControllerId(), game) .stream() .map(game::getPlayer) - .map(Player::getLibrary) - .forEachOrdered(library -> controller.lookAtCards( - sourceObject.getIdName(), library.getFromTop(game), game + .forEachOrdered(player -> controller.lookAtCards( + sourceObject.getIdName() + " " + player.getName(), player.getLibrary().getFromTop(game), game )); return true; }