Only add summary if not empty
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
5346dfc782
commit
8837f06e4e
@ -204,6 +204,7 @@ QByteArray ModrinthPackExportTask::generateIndex()
|
|||||||
obj["game"] = "minecraft";
|
obj["game"] = "minecraft";
|
||||||
obj["name"] = name;
|
obj["name"] = name;
|
||||||
obj["versionId"] = version;
|
obj["versionId"] = version;
|
||||||
|
if (!summary.isEmpty())
|
||||||
obj["summary"] = summary;
|
obj["summary"] = summary;
|
||||||
|
|
||||||
MinecraftInstance* mc = dynamic_cast<MinecraftInstance*>(instance.get());
|
MinecraftInstance* mc = dynamic_cast<MinecraftInstance*>(instance.get());
|
||||||
|
Loading…
Reference in New Issue
Block a user