From 109168160c8a5dbe39440e591234ed0a79ec5b34 Mon Sep 17 00:00:00 2001 From: Evgenij Titarenko Date: Sun, 23 Jul 2023 17:15:12 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9C=D0=BE=D0=B4=D0=BF=D0=B0=D0=BA=D0=B8=20?= =?UTF-8?q?=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=B0=D1=8E=D1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mc-get.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mc-get.py b/mc-get.py index 577eabd..d1eeff0 100755 --- a/mc-get.py +++ b/mc-get.py @@ -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