From 08ba4717108d0d43c662c5b8b7e3304e7752489b Mon Sep 17 00:00:00 2001 From: MegaXLR Date: Tue, 8 May 2018 14:27:00 +0200 Subject: [PATCH] Remove obsolete jar location Signed-off-by: MegaXLR --- minecraft-server/start-deployVanilla | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minecraft-server/start-deployVanilla b/minecraft-server/start-deployVanilla index 550f15db..5cddfc1f 100755 --- a/minecraft-server/start-deployVanilla +++ b/minecraft-server/start-deployVanilla @@ -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