diff options
Diffstat (limited to 'logic')
-rw-r--r-- | logic/Mod.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/logic/Mod.cpp b/logic/Mod.cpp index 22ac36c8..ce931b05 100644 --- a/logic/Mod.cpp +++ b/logic/Mod.cpp @@ -175,7 +175,10 @@ void Mod::ReadMCModInfo(QByteArray contents) } } m_description = firstObj.value("description").toString(); - QJsonArray authors = firstObj.value("authors").toArray(); + QJsonArray authors = firstObj.value("authorList").toArray(); + if (authors.size() == 0) + authors = firstObj.value("authors").toArray(); + if (authors.size() == 0) m_authors = ""; else if (authors.size() >= 1) |