When using a custom server, allow specifying MODRINTH_LOADER with MODRINTH_PROJECTS (#3527)

This commit is contained in:
Geoff Bourne
2025-07-02 22:25:04 -05:00
committed by GitHub
parent 45f14512bb
commit 3cdc86ef0b
3 changed files with 13 additions and 2 deletions

View File

@@ -411,7 +411,7 @@ function isFamily() {
function isType() {
for t in "${@}"; do
# shellcheck disable=SC2153
if [[ $TYPE == "$t" ]]; then
if [[ ${TYPE^^} == "${t^^}" ]]; then
return 0
fi
done