mirror of
https://github.com/itzg/docker-minecraft-server
synced 2025-03-04 23:27:17 +00:00
mc: properly handle spaces in MOTD during server properties setup
This commit is contained in:
parent
479be8016a
commit
9b1272edac
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ if [ ! -e $SERVER_PROPERTIES ]; then
|
|||
|
||||
# If not provided, generate a reasonable default message-of-the-day,
|
||||
# which shows up in the server listing in the client
|
||||
if [ -z $MOTD ]; then
|
||||
if [ -z "$MOTD" ]; then
|
||||
# snapshot is the odd case where we have to look at version to identify that label
|
||||
if [[ ${ORIGINAL_TYPE} == "VANILLA" && ${VERSION} == "SNAPSHOT" ]]; then
|
||||
label=SNAPSHOT
|
||||
|
|
Loading…
Add table
Reference in a new issue