Browse Source

fix(mc): correct variable name

pull/4177/head
Daniel Gibbs 2 years ago
parent
commit
0720a79b47
No known key found for this signature in database GPG Key ID: 7CA38B43F78F12FE
  1. 2
      lgsm/functions/update_minecraft.sh

2
lgsm/functions/update_minecraft.sh

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

Loading…
Cancel
Save