Revert "modrinth: adapt version lookup to API changes (#1987)" (#1989)

This reverts commit 3624dc02a3.
This commit is contained in:
Geoff Bourne
2023-03-05 08:25:35 -06:00
committed by GitHub
parent 3624dc02a3
commit b7e93e56e5
2 changed files with 5 additions and 5 deletions

View File

@@ -183,7 +183,7 @@ esac
fi
}
function handleGenericPacks() {
function genericPacks() {
: "${GENERIC_PACKS:=${GENERIC_PACK}}"
: "${GENERIC_PACKS_PREFIX:=}"
: "${GENERIC_PACKS_SUFFIX:=}"
@@ -267,7 +267,7 @@ function handleGenericPacks() {
fi
}
function handleModrinthProjects() {
function modrinthProjects() {
: "${MODRINTH_PROJECTS:=}"
: "${MODRINTH_DOWNLOAD_OPTIONAL_DEPENDENCIES:=true}"
: "${MODRINTH_ALLOWED_VERSION_TYPE:=release}"
@@ -294,8 +294,8 @@ handleModpackListOrFile
handleCurseForgeManifest
handleGenericPacks
genericPacks
handleModrinthProjects
modrinthProjects
exec "${SCRIPTS:-/}start-setupModconfig" "$@"