mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
fixed another verify bug
This commit is contained in:
parent
912662777c
commit
3158621a87
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue