Merge pull request #1512 from Trial97/curseforge_import
Fix importing Quilt/Fabric packs from CurseForge
This commit is contained in:
commit
7879091cea
@ -353,11 +353,11 @@ bool FlameCreationTask::createInstance()
|
|||||||
id.remove("forge-");
|
id.remove("forge-");
|
||||||
loaderType = "forge";
|
loaderType = "forge";
|
||||||
loaderUid = "net.minecraftforge";
|
loaderUid = "net.minecraftforge";
|
||||||
} else if (loaderType == "fabric") {
|
} else if (id.startsWith("fabric-")) {
|
||||||
id.remove("fabric-");
|
id.remove("fabric-");
|
||||||
loaderType = "fabric";
|
loaderType = "fabric";
|
||||||
loaderUid = "net.fabricmc.fabric-loader";
|
loaderUid = "net.fabricmc.fabric-loader";
|
||||||
} else if (loaderType == "quilt") {
|
} else if (id.startsWith("quilt-")) {
|
||||||
id.remove("quilt-");
|
id.remove("quilt-");
|
||||||
loaderType = "quilt";
|
loaderType = "quilt";
|
||||||
loaderUid = "org.quiltmc.quilt-loader";
|
loaderUid = "org.quiltmc.quilt-loader";
|
||||||
|
Loading…
Reference in New Issue
Block a user