aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/helpers/ExportModsToStringTask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/modplatform/helpers/ExportModsToStringTask.cpp')
-rw-r--r--launcher/modplatform/helpers/ExportModsToStringTask.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/modplatform/helpers/ExportModsToStringTask.cpp b/launcher/modplatform/helpers/ExportModsToStringTask.cpp
index c10560c1..e7be5ce1 100644
--- a/launcher/modplatform/helpers/ExportModsToStringTask.cpp
+++ b/launcher/modplatform/helpers/ExportModsToStringTask.cpp
@@ -97,7 +97,7 @@ QString ExportModsToStringTask(QList<Mod*> mods, QString lineTemplate)
if (meta != nullptr) {
url = (meta->provider == ModPlatform::ResourceProvider::FLAME ? "https://www.curseforge.com/minecraft/mc-mods/"
: "https://modrinth.com/mod/") +
- meta->project_id.toString();
+ meta->slug.remove(".pw.toml");
}
auto ver = mod->version();
if (ver.isEmpty() && meta != nullptr)