mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-12 13:22:28 +00:00
parent
895b7d74f5
commit
bd084cc261
1 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,10 @@
|
|||
#!/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 [[ "$WORLD" ]] && [ ! -d "$worldDest" ]; then
|
||||
|
|
Loading…
Reference in a new issue