paper: download default configs before patching (#3004)

This commit is contained in:
Geoff Bourne
2024-07-20 13:15:16 -05:00
committed by GitHub
parent 0ff8e68f01
commit d7c6a7d2b6
4 changed files with 29 additions and 0 deletions

View File

@@ -52,6 +52,12 @@ else
fi
# Download default configs to allow for consistent patching
for c in paper-global.yml paper-world-defaults.yml spigot.yml; do
DOWNLOAD_DEFAULT_CONFIGS+=",${PAPER_CONFIG_DEFAULTS_REPO}/${VERSION}/$c"
done
export DOWNLOAD_DEFAULT_CONFIGS
# Normalize on Spigot for downstream operations
export FAMILY=SPIGOT