From 6fa827e9a11f1d6c59ce4b40af2857b7a775f8cb Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Thu, 11 Mar 2021 15:08:26 -0600 Subject: [PATCH] Fixed usage of EXTRA_ARGS #798 --- start-minecraftFinalSetup | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/start-minecraftFinalSetup b/start-minecraftFinalSetup index 268a6698..40c1358c 100644 --- a/start-minecraftFinalSetup +++ b/start-minecraftFinalSetup @@ -61,15 +61,14 @@ for j in $JSON_FILES; do fi done -EXTRA_ARGS="" # Optional disable console if versionLessThan 1.14 && [[ ${CONSOLE,,} = false ]]; then - EXTRA_ARGS+="--noconsole" + EXTRA_ARGS+=" --noconsole" fi # Optional disable GUI for headless servers if [[ ${GUI} = false || ${GUI} = FALSE ]]; then - EXTRA_ARGS="${EXTRA_ARGS} nogui" + EXTRA_ARGS+=" nogui" fi # put these prior JVM_OPTS at the end to give any memory settings there higher precedence