Модпаки работают
This commit is contained in:
parent
3c435c82de
commit
109168160c
1 changed files with 1 additions and 3 deletions
|
@ -76,12 +76,10 @@ def install(projects: list, version, loader):
|
|||
match project_data.project_type:
|
||||
case "resourcepack":
|
||||
versions = api.get_versions(project=project, game_versions=f'["{mc_ver}"]')
|
||||
case "mod":
|
||||
case "mod" | "modpack":
|
||||
versions = api.get_versions(project=project, loaders=f'["{loader}"]', game_versions=f'["{mc_ver}"]')
|
||||
case "shader": # TODO: Реализовать поддержку загрузчиков шейдеров
|
||||
versions = api.get_versions(project=project, game_versions=f'["{mc_ver}"]')
|
||||
case "modpack": # TODO: [РЕГРЕССИЯ] Реализовать поддержку модпаков
|
||||
raise NotImplementedError
|
||||
case _:
|
||||
raise NotImplementedError
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue