mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-06-03 01:09:44 +00:00
[mc] also apply to white-list property
This commit is contained in:
@@ -91,6 +91,7 @@ if [ ! -e server.properties ]; then
|
|||||||
|
|
||||||
if [ -n "$WHITELIST" ]; then
|
if [ -n "$WHITELIST" ]; then
|
||||||
sed -i "/whitelist\s*=/ c whitelist=true" /data/server.properties
|
sed -i "/whitelist\s*=/ c whitelist=true" /data/server.properties
|
||||||
|
sed -i "/white-list\s*=/ c white-list=true" /data/server.properties
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$MOTD" ]; then
|
if [ -n "$MOTD" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user