From 00687cbb7e6099460ba547183f479d7c7e3bd65f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C5=A0tefka?= Date: Thu, 23 Feb 2023 08:25:20 +0100 Subject: [PATCH] Fix api_url not being correctly set on startup --- start.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/start.sh b/start.sh index 774cee9..178bca7 100755 --- a/start.sh +++ b/start.sh @@ -7,7 +7,7 @@ # and acknowledge the original script and author. # ############################################################################################################# -CURRENT_VERSION="v1.0.1" +CURRENT_VERSION="v1.0.2" # -------------------------------------------------- # You shouldn't need to change anything in this file @@ -19,7 +19,7 @@ REPO_OWNER="jiriks74" REPO_NAME="start_papermc.sh" # API URL -api_url="https://api.papermc.io/v2/projects/paper/versions/$select_version/builds" +api_url="" # Check for dependencies function check_dependencies { @@ -473,6 +473,7 @@ function load_config { # Load config source launch.cfg + api_url="https://api.papermc.io/v2/projects/paper/versions/$select_version/builds/" } # Main function