Update launcher/modplatform/flame/FlameInstanceCreationTask.cpp

Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
This commit is contained in:
Alexandru Ionut Tripon 2024-02-10 23:15:26 +02:00 committed by GitHub
parent 830ce246e1
commit 29bf6cc68c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -355,7 +355,7 @@ bool FlameCreationTask::createInstance()
if (id.startsWith("neoforge-")) { if (id.startsWith("neoforge-")) {
id.remove("neoforge-"); id.remove("neoforge-");
if (id.startsWith("1.20.1-")) if (id.startsWith("1.20.1-"))
id = id.mid(7); // this is a mess for curseforge id.remove("1.20.1-"); // this is a mess for curseforge
loaderType = "neoforge"; loaderType = "neoforge";
loaderUid = "net.neoforged"; loaderUid = "net.neoforged";
} else if (id.startsWith("forge-")) { } else if (id.startsWith("forge-")) {