feat: set -nolauncher -world=empty when launching

This commit is contained in:
bastimeyer 2021-12-06 04:07:07 +01:00
parent b2f0ba9629
commit f6bffde240

View file

@ -183,7 +183,7 @@ if [[ "${#mods[@]}" -gt 0 ]]; then
cmdline+=("-mod=$(IFS=";"; echo "${mods[*]}")")
fi
if [[ "${LAUNCH}" == 1 ]] && [[ -n "${SERVER}" ]]; then
cmdline+=("-connect=${SERVER}")
cmdline+=("-connect=${SERVER}" -nolauncher -world=empty)
fi
if [[ "${LAUNCH}" == 1 ]]; then