Fix incorrect warning about setting TYPE and MODPACK_PLATFORM (#3122)

This commit is contained in:
Geoff Bourne
2024-10-24 15:20:50 -05:00
committed by GitHub
parent e69ee85f8e
commit f872eb55cc

View File

@@ -160,7 +160,7 @@ fi
: "${MODPACK_PLATFORM:=${MOD_PLATFORM:-}}"
if [[ $MODPACK_PLATFORM && $TYPE ]]; then
if [[ $MODPACK_PLATFORM && $TYPE && $TYPE != VANILLA ]]; then
logWarning "Avoid setting TYPE and MODPACK_PLATFORM"
fi