Added support for STOP_SERVER_ANNOUNCE_DELAY

This commit is contained in:
Geoff Bourne
2021-08-01 12:09:18 -05:00
parent da8fb37317
commit c96d6b2958
3 changed files with 11 additions and 1 deletions

View File

@@ -173,6 +173,10 @@ function copyFilesForCurseForge() {
}
mcServerRunnerArgs="--stop-duration ${STOP_DURATION:-60}s"
if [[ ${STOP_SERVER_ANNOUNCE_DELAY} ]]; then
mcServerRunnerArgs="${mcServerRunnerArgs} --stop-server-announce-delay ${STOP_SERVER_ANNOUNCE_DELAY}s"
fi
if [[ ${TYPE} == "CURSE_INSTANCE" ]]; then
if isTrue ${DEBUG_EXEC}; then
set -x