Download default spigot.yml for PaperMC to top-level directory (#3216)

This commit is contained in:
Geoff Bourne
2024-12-30 19:02:43 -06:00
committed by GitHub
parent 6514ed85a0
commit 9a20ab7b48
3 changed files with 26 additions and 3 deletions

View File

@@ -513,3 +513,17 @@ function ensureRemoveAllModsOff() {
REMOVE_OLD_MODS=false
fi
}
function buildDownloadList() {
repoUrl=${1?}
version=${2?}
shift 2
result=
for c in "${@}"; do
if [[ $result ]]; then
result+=","
fi
result+="${repoUrl}/${version}/$c"
done
echo "$result"
}