From 8c6ca5e9993048fb16bb6d56c05720399eb38c3f Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Thu, 7 Jan 2021 20:03:42 -0600 Subject: [PATCH] Restored the ability for PAPERBUILD to be used with TYPE=PAPER For #715 --- start-deployPaper | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start-deployPaper b/start-deployPaper index e76caa6b..9233f7a0 100644 --- a/start-deployPaper +++ b/start-deployPaper @@ -17,8 +17,8 @@ if [[ $PAPER_DOWNLOAD_URL ]]; then else # PaperMC API v2 docs : https://papermc.io/api/docs/swagger-ui/index.html?configUrl=/api/openapi/swagger-config - build=$(curl -fsSL "https://papermc.io/api/v2/projects/paper/versions/${VANILLA_VERSION}" -H "accept: application/json" \ - | jq '.builds[-1]') + build=${PAPERBUILD:=$(curl -fsSL "https://papermc.io/api/v2/projects/paper/versions/${VANILLA_VERSION}" -H "accept: application/json" \ + | jq '.builds[-1]')} case $? in 0) ;;