From 1148aa3fe39bd1c9db17d4634b8399bdb9666df9 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sun, 26 May 2019 11:16:00 -0500 Subject: [PATCH] mc: for TYPE=PAPER use resolved version Part of #326 --- minecraft-server/start-deployPaper | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/minecraft-server/start-deployPaper b/minecraft-server/start-deployPaper index da5beea3..52d62fff 100644 --- a/minecraft-server/start-deployPaper +++ b/minecraft-server/start-deployPaper @@ -2,8 +2,8 @@ export SERVER=paper_server.jar if [ ! -f $SERVER ]; then - downloadUrl=${PAPER_DOWNLOAD_URL:-https://papermc.io/api/v1/paper/${VERSION}/latest/download} - echo "Downloading Paper $VERSION from $downloadUrl ..." + downloadUrl=${PAPER_DOWNLOAD_URL:-https://papermc.io/api/v1/paper/${VANILLA_VERSION}/latest/download} + echo "Downloading Paper $VANILLA_VERSION from $downloadUrl ..." curl -fsSL -o $SERVER "$downloadUrl" if [ ! -f $SERVER ]; then echo "ERROR: failed to download from $downloadUrl (status=$?)"