fix(modrinth): quilt is already supported. Closes #1746.

This commit is contained in:
huanghongxun 2022-09-24 23:16:11 +08:00
parent 499a65d5fb
commit d3ca50259a

View File

@ -72,7 +72,8 @@ public class ModrinthInstallTask extends Task<Void> {
builder.version("fabric", modLoader.getValue());
break;
case "quilt-loader":
throw new IllegalStateException("Quilt Modloader is not supported");
builder.version("quilt", modLoader.getValue());
break;
default:
throw new IllegalStateException("Unsupported mod loader " + modLoader.getKey());
}