This commit is contained in:
GabsPuNs
2026-05-14 21:52:21 -04:00
parent 1b2f5c6fe8
commit f8a2d644f5
291 changed files with 7363 additions and 18368 deletions

View File

@@ -104,7 +104,7 @@ fi
mkdir -p "${PERSIST_DIR}"
# created because it is not implemented on the server side
mkdir -p "${PERSIST_DIR}/Saves"
mkdir -p "${PERSIST_DIR}Saves"
ensure_persist_file "${PERSIST_DIR}/server.properties" "server.properties" ""
ensure_persist_file "${PERSIST_DIR}/banned-players.json" "banned-players.json" "[]\n"
@@ -114,7 +114,7 @@ ensure_persist_file "${PERSIST_DIR}/banned-ips.json" "banned-ips.json" "[]\n"
if [ -e "Data/Saves" ] && [ ! -L "Data/Saves" ]; then
rm -rf "Data/Saves"
fi
ln -sfn "${PERSIST_DIR}/Saves" "Data/Saves"
ln -sfn "${PERSIST_DIR}/Data/Saves" "Data/Saves"
# for compatibility with other images
if command -v wine64 >/dev/null 2>&1; then