mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
mc: properly handle spaces in MOTD during server properties setup
This commit is contained in:
parent
479be8016a
commit
9b1272edac
@ -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…
Reference in New Issue
Block a user