diff --git a/Mage.Sets/src/mage/cards/a/AshioksErasure.java b/Mage.Sets/src/mage/cards/a/AshioksErasure.java index f72c3b0bca..1c65ff517f 100644 --- a/Mage.Sets/src/mage/cards/a/AshioksErasure.java +++ b/Mage.Sets/src/mage/cards/a/AshioksErasure.java @@ -146,7 +146,7 @@ class AshioksErasureReplacementEffect extends ContinuousRuleModifyingEffectImpl Card exiledCard = cards.iterator().next(); if (exiledCard != null) { - return exiledCard.getName().equals(card.getName()); + return CardUtil.haveSameNames(exiledCard, card); } return false; } diff --git a/Mage.Sets/src/mage/cards/d/DeathbellowWarCry.java b/Mage.Sets/src/mage/cards/d/DeathbellowWarCry.java index 3a4c639968..18824247a4 100644 --- a/Mage.Sets/src/mage/cards/d/DeathbellowWarCry.java +++ b/Mage.Sets/src/mage/cards/d/DeathbellowWarCry.java @@ -12,6 +12,7 @@ import mage.filter.FilterCard; import mage.filter.common.FilterCreatureCard; import mage.game.Game; import mage.target.common.TargetCardInLibrary; +import mage.util.CardUtil; import java.util.Objects; import java.util.UUID; @@ -71,6 +72,6 @@ class DeathbellowWarCryTarget extends TargetCardInLibrary { .map(game::getCard) .filter(Objects::nonNull) .map(Card::getName) - .noneMatch(card.getName()::equals); + .noneMatch(n -> CardUtil.haveSameNames(n, card.getName())); } }