Auto-merging via docker-versions-create

This commit is contained in:
Geoff Bourne
2021-11-06 21:38:46 -05:00
3 changed files with 12 additions and 3 deletions

View File

@@ -41,6 +41,14 @@ if [ ! -e "$SERVER" ] || [ -n "$FORCE_REDOWNLOAD" ]; then
fi
fi
if versionLessThan 1.6; then
if ! [[ -L /data/minecraft_server.jar && /data/minecraft_server.jar -ef "/data/$SERVER" ]]; then
rm -f /data/minecraft_server.jar
ln -s "/data/$SERVER" /data/minecraft_server.jar
fi
SERVER=minecraft_server.jar
fi
isDebugging && ls -l
exec "${SCRIPTS:-/}start-setupWorld" "$@"

View File

@@ -217,9 +217,9 @@ if isTrue "${ENABLE_AUTOPAUSE}"; then
fi
fi
if isDebugging; then
if isDebugging && [ -f "${SERVER_PROPERTIES}" ]; then
log "DEBUG Dumping server.properties"
cat "${SERVER_PROPERTIES}"
fi
exec ${SCRIPTS:-/}start-setupEnvVariables $@
exec "${SCRIPTS:-/}start-setupEnvVariables" "$@"