mirror of
https://github.com/unmojang/FjordLauncher.git
synced 2025-09-09 15:23:45 -04:00
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["name"] = name;
|
||||
obj["versionId"] = version;
|
||||
if (!summary.isEmpty())
|
||||
obj["summary"] = summary;
|
||||
|
||||
MinecraftInstance* mc = dynamic_cast<MinecraftInstance*>(instance.get());
|
||||
|
Loading…
x
Reference in New Issue
Block a user