mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
[mc] also apply to white-list property
This commit is contained in:
parent
a6e32f0ea9
commit
32cb5f44e4
@ -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 New Issue
Block a user