Added ability to add resource-pack from environment vars (#379)

This commit is contained in:
DocQuantum
2019-08-24 10:38:59 -05:00
committed by Geoff Bourne
parent d293a65f5e
commit 3c55a05b1c
3 changed files with 12 additions and 1 deletions
+2
View File
@@ -70,6 +70,8 @@ function customizeServerProps {
setServerProp "online-mode" "$ONLINE_MODE"
setServerProp "allow-flight" "$ALLOW_FLIGHT"
setServerProp "level-type" "${LEVEL_TYPE^^}"
setServerProp "resource-pack" "$RESOURCE_PACK"
setServerProp "resource-pack-sha1" "$RESOURCE_PACK_SHA1"
if [ -n "$DIFFICULTY" ]; then
case $DIFFICULTY in