feat: handling mrpack with no loaders (#5363)

* handle modpack upload with no loaders

* restrict loaders for modpack

* actually, dont allow modpack loaders to be editable

* revert loader picker changes
This commit is contained in:
Truman Gao
2026-02-18 10:43:07 -07:00
committed by GitHub
parent 9f558404bd
commit 0e752ab415
4 changed files with 21 additions and 11 deletions

View File

@@ -421,10 +421,6 @@ export function createManageVersionContext(
inferred.loaders = ['datapack']
}
if (noLoaders && projectType.value === 'modpack') {
inferred.loaders = ['minecraft']
}
inferredVersionData.value = inferred
return inferred