mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-08-03 14:12:17 +00:00
mc: support snapshot versions with spaces, such as "1.14 Pre-Release 1"
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
. /start-utils
|
. /start-utils
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
export SERVER="minecraft_server.$VANILLA_VERSION.jar"
|
export SERVER="minecraft_server.${VANILLA_VERSION// /_}.jar"
|
||||||
|
|
||||||
if [ ! -e $SERVER ]; then
|
if [ ! -e $SERVER ]; then
|
||||||
echo "Downloading $SERVER ..."
|
echo "Downloading $SERVER ..."
|
||||||
|
|||||||
Reference in New Issue
Block a user