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