Added support for STOP_SERVER_ANNOUNCE_DELAY

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

No files matched your search

+4
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