fixed another verify bug

This commit is contained in:
Evan Kranzler 2021-06-21 21:08:48 -04:00
parent 912662777c
commit 3158621a87

View file

@ -1179,7 +1179,10 @@ public class VerifyCardDataTest {
}
private static boolean checkName(MtgJsonCard ref) {
if (!ONLY_TEXT || checkedNames.contains(ref.name)) {
if (!ONLY_TEXT) {
return true;
}
if (checkedNames.contains(ref.name)) {
return false;
}
checkedNames.add(ref.name);