mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-08-14 19:23:22 +00:00
Add warning for missing .gtnh-version file when using SKIP_GTNH_UPDATE_CHECK (#4230)
This commit is contained in:
@@ -312,6 +312,9 @@ function handleGTNH() {
|
||||
fi
|
||||
else
|
||||
log "SKIP_GTNH_UPDATE_CHECK=$SKIP_GTNH_UPDATE_CHECK ... Skipping GTNH Update/Install"
|
||||
if [[ ! -f /data/.gtnh-version ]]; then
|
||||
logWarning "No .gtnh-version file detected! There might not be a valid GTNH server installation in /data. Please ensure that the server files are present or set SKIP_GTNH_UPDATE_CHECK=false to allow the script to download and install the server files."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user