mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-10-29 05:35:42 +00:00
1 parent
895b7d74f5
commit
bd084cc261
1 file changed
+4
@@ -1,6 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ $TYPE = "FEED-THE-BEAST" ]; then
|
||||||
|
worldDest=$FTB_BASE_DIR/$LEVEL
|
||||||
|
else
|
||||||
worldDest=/data/$LEVEL
|
worldDest=/data/$LEVEL
|
||||||
|
fi
|
||||||
|
|
||||||
# If no world exists and a URL for a world is supplied, download it and unpack
|
# If no world exists and a URL for a world is supplied, download it and unpack
|
||||||
if [[ "$WORLD" ]] && [ ! -d "$worldDest" ]; then
|
if [[ "$WORLD" ]] && [ ! -d "$worldDest" ]; then
|
||||||
|
|||||||
Reference in new issue
Block a user