Fixed merge

This commit is contained in:
Oleg Agafonov 2019-03-27 16:53:09 +04:00
parent 98190182e9
commit 3454ffbe01
3 changed files with 7 additions and 6 deletions

View file

@ -189,8 +189,10 @@ public class VerifyCardDataTest {
if (classesIndex.containsKey(checkCard.getName())) {
String needClass = classesIndex.get(checkCard.getName());
if (!needClass.equals(currentClass)) {
// workaround to star wars set with same card names
if (!checkCard.getName().equals("Syndicate Enforcer")) {
// workaround to star wars and unstable set with same card names
if (!checkCard.getName().equals("Syndicate Enforcer")
&& !checkCard.getName().equals("Garbage Elemental")
&& !checkCard.getName().equals("Very Cryptic Command")) {
errorsList.add("Error: found wrong class in set " + set.getCode() + " - " + checkCard.getName() + " (" + currentClass + " <> " + needClass + ")");
}
}