Browse Source
fix: Removed hardcoded project name in update update_papermc.sh
Script was unable to fetch the proper builds for WaterfallMC due to it checking PaperMC instead.
Replaced the hardcoded .../paper/... project name with the already existing ${paperproject} to fix the issue
pull/4225/head
Bibo164
2 years ago
No known key found for this signature in database
GPG Key ID: 3AC17D2D24767B9A
1 changed files with
1 additions and
1 deletions
lgsm/modules/update_papermc.sh
@ -51,7 +51,7 @@ fn_update_remotebuild() {
fi
fi
fi
fi
# Get list of paper builds for specific Minecraft: Java Edition version.
# Get list of paper builds for specific Minecraft: Java Edition version.
remotebuildresponsemcversion = $( curl -s " ${ apiurl } /paper/versions/ ${ remotebuildmcversion } " )
remotebuildresponsemcversion = $( curl -s " ${ apiurl } / ${ paperproject } /versions/ ${ remotebuildmcversion } " )
# Get latest paper build for specific Minecraft: Java Edition version.
# Get latest paper build for specific Minecraft: Java Edition version.
remotebuildpaperversion = $( echo " ${ remotebuildresponsemcversion } " | jq -r '.builds[-1]' )
remotebuildpaperversion = $( echo " ${ remotebuildresponsemcversion } " | jq -r '.builds[-1]' )
# Get various info about the paper build.
# Get various info about the paper build.