aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/flame
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-08-15 00:33:24 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-08-15 00:33:24 +0300
commit0ba88ff138dc5bfc7128333c5ff6c65ab790c7bb (patch)
treea21a93f0b456386a6dcf57b73b8332b22db72c8d /launcher/modplatform/flame
parent215d7dbb741de9516ab5f00acb7b699adff82cab (diff)
parent3aba7f8fec45c7c87be486d8f6b5c96f69facf93 (diff)
downloadPrismLauncher-0ba88ff138dc5bfc7128333c5ff6c65ab790c7bb.tar.gz
PrismLauncher-0ba88ff138dc5bfc7128333c5ff6c65ab790c7bb.tar.bz2
PrismLauncher-0ba88ff138dc5bfc7128333c5ff6c65ab790c7bb.zip
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into staging
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher/modplatform/flame')
-rw-r--r--launcher/modplatform/flame/FlameInstanceCreationTask.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher/modplatform/flame/FlameInstanceCreationTask.cpp b/launcher/modplatform/flame/FlameInstanceCreationTask.cpp
index c170a4f5..9fe8d486 100644
--- a/launcher/modplatform/flame/FlameInstanceCreationTask.cpp
+++ b/launcher/modplatform/flame/FlameInstanceCreationTask.cpp
@@ -354,11 +354,11 @@ bool FlameCreationTask::createInstance()
id.remove("forge-");
loaderType = "forge";
loaderUid = "net.minecraftforge";
- } else if (loaderType == "fabric") {
+ } else if (id.startsWith("fabric-")) {
id.remove("fabric-");
loaderType = "fabric";
loaderUid = "net.fabricmc.fabric-loader";
- } else if (loaderType == "quilt") {
+ } else if (id.startsWith("quilt-")) {
id.remove("quilt-");
loaderType = "quilt";
loaderUid = "org.quiltmc.quilt-loader";