parent
55c4207182
commit
5fd86954d6
1 changed files with 2 additions and 0 deletions
|
@ -246,6 +246,8 @@ int OracleImporter::importCardsFromSet(CardSetPtr currentSet, const QList<QVaria
|
||||||
const auto &typeList = card.value("types").toStringList();
|
const auto &typeList = card.value("types").toStringList();
|
||||||
if (typeList.contains("Creature")) {
|
if (typeList.contains("Creature")) {
|
||||||
properties.insert("maintype", "Creature");
|
properties.insert("maintype", "Creature");
|
||||||
|
} else if (typeList.contains("Land")) {
|
||||||
|
properties.insert("maintype", "Land");
|
||||||
} else {
|
} else {
|
||||||
const auto &maintype = typeList.first();
|
const auto &maintype = typeList.first();
|
||||||
if (!maintype.isEmpty()) {
|
if (!maintype.isEmpty()) {
|
||||||
|
|
Loading…
Reference in a new issue