mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-11-15 00:27:08 +00:00
Remove obsolete jar location
Signed-off-by: MegaXLR <admin@megaxlr.net>
This commit is contained in:
parent
d93f6bad16
commit
08ba471710
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ export SERVER="minecraft_server.$VANILLA_VERSION.jar"
|
|||
|
||||
if [ ! -e $SERVER ]; then
|
||||
echo "Downloading $SERVER ..."
|
||||
wget -q https://s3.amazonaws.com/Minecraft.Download/versions/$VANILLA_VERSION/$SERVER
|
||||
wget -q -O $SERVER $(curl -s $(curl -s 'https://launchermeta.mojang.com/mc/game/version_manifest.json' | jq --arg VANILLA_VERSION "$VANILLA_VERSION" --raw-output '[.versions[]|select(.id == $VANILLA_VERSION)][0].url') | jq --raw-output '.downloads.server.url')
|
||||
fi
|
||||
|
||||
# Continue to Final Setup
|
||||
|
|
Loading…
Reference in a new issue