This commit is contained in:
ctrlaltca 2019-03-07 01:18:19 +01:00 committed by Zach H
parent 55c4207182
commit 5fd86954d6

View file

@ -246,6 +246,8 @@ int OracleImporter::importCardsFromSet(CardSetPtr currentSet, const QList<QVaria
const auto &typeList = card.value("types").toStringList();
if (typeList.contains("Creature")) {
properties.insert("maintype", "Creature");
} else if (typeList.contains("Land")) {
properties.insert("maintype", "Land");
} else {
const auto &maintype = typeList.first();
if (!maintype.isEmpty()) {