|
@@ -16,7 +16,7 @@ fn_update_localbuild() {
|
|
|
# Gets local build info.
|
|
# Gets local build info.
|
|
|
fn_print_dots "Checking local build: ${remotelocation}"
|
|
fn_print_dots "Checking local build: ${remotelocation}"
|
|
|
# Uses executable to get local build.
|
|
# Uses executable to get local build.
|
|
|
- if [ -d "${exutabledir}" ]; then
|
|
|
|
|
|
|
+ if [ -d "${executabledir}" ]; then
|
|
|
cd "${executabledir}" || exit
|
|
cd "${executabledir}" || exit
|
|
|
localbuild=$(unzip -p "minecraft_server.jar" version.json | jq -r '.id')
|
|
localbuild=$(unzip -p "minecraft_server.jar" version.json | jq -r '.id')
|
|
|
fi
|
|
fi
|