Download paper.yml and bukkit.yml (#3217)

This commit is contained in:
Niklas Gerstner 2024-12-31 15:46:33 +01:00 committed by GitHub
parent 9a20ab7b48
commit 621bafb4f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,10 +42,17 @@ else
applyResultsFile ${resultsFile} applyResultsFile ${resultsFile}
fi fi
# Download default configs to allow for consistent patching defaultTopLevelConfigs="bukkit.yml spigot.yml"
DOWNLOAD_DEFAULT_CONFIGS=$(buildDownloadList "$PAPER_CONFIG_DEFAULTS_REPO" "$VERSION" paper-global.yml paper-world-defaults.yml) if versionLessThan 1.19; then
export DOWNLOAD_DEFAULT_CONFIGS defaultTopLevelConfigs+=" paper.yml"
DOWNLOAD_DEFAULTS=$(buildDownloadList "$PAPER_CONFIG_DEFAULTS_REPO" "$VERSION" spigot.yml) else
# Download default configs to allow for consistent patching
DOWNLOAD_DEFAULT_CONFIGS=$(buildDownloadList "$PAPER_CONFIG_DEFAULTS_REPO" "$VERSION" paper-global.yml paper-world-defaults.yml)
export DOWNLOAD_DEFAULT_CONFIGS
fi
# Download top-level configs to allow for consistent patching
DOWNLOAD_DEFAULTS=$(buildDownloadList "$PAPER_CONFIG_DEFAULTS_REPO" "$VERSION" $defaultTopLevelConfigs)
export DOWNLOAD_DEFAULTS export DOWNLOAD_DEFAULTS
# Normalize on Spigot for downstream operations # Normalize on Spigot for downstream operations