mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-11-19 22:15:19 +00:00
Allow to enable the whitelist without modifying the whitelist file (#937)
This commit is contained in:
1 parent
33c2154a98
commit
9d231801da
2 files changed
+4
-2
No files matched your search
@@ -27,7 +27,7 @@ function setServerProp {
|
||||
}
|
||||
|
||||
function customizeServerProps {
|
||||
if [ -n "$WHITELIST" ]; then
|
||||
if [ -n "$WHITELIST" ] || isTrue ${ENABLE_WHITELIST:-false}; then
|
||||
log "Creating whitelist"
|
||||
setServerProp "whitelist" "true"
|
||||
setServerProp "white-list" "true"
|
||||
|
||||
Reference in new issue
Block a user