From 40a26b8caf656eecb0ea0344970d697697d2c506 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sun, 7 Apr 2019 13:34:11 -0500 Subject: [PATCH] mc: alter paperclip jar for 1.8.8 download Fixes #305 --- minecraft-server/start-deployPaper | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/minecraft-server/start-deployPaper b/minecraft-server/start-deployPaper index a5c7ea35..1c03d452 100644 --- a/minecraft-server/start-deployPaper +++ b/minecraft-server/start-deployPaper @@ -3,6 +3,7 @@ export SERVER=paper_server.jar if [ ! -f $SERVER ]; then job=Paper + paperJar=paperclip.jar case "${VANILLA_VERSION}" in 1.13.*) job=Paper-1.13 @@ -16,11 +17,8 @@ if [ ! -f $SERVER ]; then build="916";; 1.9.4) build="773";; - 1.9.2) - build="727";; - 1.9) - build="612";; 1.8.8) + paperJar=Paperclip.jar build="443";; *) build="nosupp";; @@ -28,7 +26,7 @@ if [ ! -f $SERVER ]; then if [ $build != "nosupp" ]; then rm -f $SERVER - downloadUrl=${PAPER_DOWNLOAD_URL:-https://papermc.io/ci/job/$job/$build/artifact/paperclip.jar} + downloadUrl=${PAPER_DOWNLOAD_URL:-https://papermc.io/ci/job/$job/$build/artifact/${paperJar}} echo "Downloading Paper $VANILLA_VERSION from $downloadUrl ..." curl -fsSL -o $SERVER "$downloadUrl" if [ ! -f $SERVER ]; then