mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-13 22:02:28 +00:00
[mc] also apply to white-list property
This commit is contained in:
parent
a6e32f0ea9
commit
32cb5f44e4
1 changed files with 1 additions and 0 deletions
|
@ -91,6 +91,7 @@ if [ ! -e server.properties ]; then
|
|||
|
||||
if [ -n "$WHITELIST" ]; then
|
||||
sed -i "/whitelist\s*=/ c whitelist=true" /data/server.properties
|
||||
sed -i "/white-list\s*=/ c white-list=true" /data/server.properties
|
||||
fi
|
||||
|
||||
if [ -n "$MOTD" ]; then
|
||||
|
|
Loading…
Reference in a new issue