Quilt support

This commit is contained in:
comp500
2022-04-20 20:58:49 +01:00
parent 9faf42c0a8
commit f1eb34d444
5 changed files with 30 additions and 19 deletions

View File

@@ -166,7 +166,9 @@ var exportCmd = &cobra.Command{
fmt.Println("Error creating manifest: " + err.Error())
os.Exit(1)
}
if fabricVersion, ok := pack.Versions["fabric"]; ok {
if quiltVersion, ok := pack.Versions["quilt"]; ok {
dependencies["quilt-loader"] = quiltVersion
} else if fabricVersion, ok := pack.Versions["fabric"]; ok {
dependencies["fabric-loader"] = fabricVersion
} else if forgeVersion, ok := pack.Versions["forge"]; ok {
dependencies["forge"] = forgeVersion