diff --git a/start-minecraftFinalSetup b/start-minecraftFinalSetup index 20836787..a0ee38dd 100644 --- a/start-minecraftFinalSetup +++ b/start-minecraftFinalSetup @@ -27,6 +27,7 @@ if [ -n "$ICON" -a ! -e server-icon.png ]; then fi fi +if [ ${TYPE} != "SPIGOT" ]; then # Set up log configuration LOGFILE="/data/log4j2.xml" if [ ! -e "$LOGFILE" ]; then @@ -36,6 +37,7 @@ else log "log4j2.xml already created, skipping" fi JVM_OPTS="-Dlog4j.configurationFile=/data/log4j2.xml ${JVM_OPTS}" +fi # Make sure files exist and are valid JSON (for pre-1.12 to 1.12 upgrades) log "Checking for JSON files."