Skip to content

Commit

Permalink
Fix incorrect warning about setting TYPE and MODPACK_PLATFORM (#3122)
Browse files Browse the repository at this point in the history
  • Loading branch information
itzg authored Oct 24, 2024
1 parent e69ee85 commit f872eb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/start-configuration
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f872eb5

Please sign in to comment.