Skip to content

Commit 71be098

Browse files
Bibo164dgibbs64
andauthored
fix(pmc): Removed hardcoded project name in update update_papermc.sh (#4225)
* 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 --------- Co-authored-by: Daniel Gibbs <[email protected]>
1 parent 2e00adc commit 71be098

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lgsm/modules/update_papermc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ fn_update_remotebuild() {
5151
fi
5252
fi
5353
# Get list of paper builds for specific Minecraft: Java Edition version.
54-
remotebuildresponsemcversion=$(curl -s "${apiurl}/paper/versions/${remotebuildmcversion}")
54+
remotebuildresponsemcversion=$(curl -s "${apiurl}/${paperproject}/versions/${remotebuildmcversion}")
5555
# Get latest paper build for specific Minecraft: Java Edition version.
5656
remotebuildpaperversion=$(echo "${remotebuildresponsemcversion}" | jq -r '.builds[-1]')
5757
# Get various info about the paper build.

0 commit comments

Comments
 (0)