mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-07-18 22:44:54 +00:00
@@ -1,6 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
worldDest=/data/$LEVEL
|
if [ $TYPE = "FEED-THE-BEAST" ]; then
|
||||||
|
worldDest=$FTB_BASE_DIR/$LEVEL
|
||||||
|
else
|
||||||
|
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