diff --git a/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java b/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java index ed37b8723f..42d4d48743 100644 --- a/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java +++ b/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java @@ -1248,10 +1248,10 @@ public class VerifyCardDataTest { if (!ONLY_TEXT) { return true; } - if (checkedNames.contains(ref.name)) { + if (checkedNames.contains(ref.getRealCardName())) { return false; } - checkedNames.add(ref.name); + checkedNames.add(ref.getRealCardName()); return true; }