mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
Disable whitelist server property when WHITELIST empty and overriding
#806
This commit is contained in:
parent
a2132292ac
commit
d695fc3fbc
@ -31,6 +31,10 @@ function customizeServerProps {
|
||||
log "Creating whitelist"
|
||||
setServerProp "whitelist" "true"
|
||||
setServerProp "white-list" "true"
|
||||
else
|
||||
log "Disabling whitelist"
|
||||
setServerProp "whitelist" "false"
|
||||
setServerProp "white-list" "false"
|
||||
fi
|
||||
|
||||
# If not provided, generate a reasonable default message-of-the-day,
|
||||
|
Loading…
Reference in New Issue
Block a user