mirror of
https://github.com/itzg/docker-minecraft-server
synced 2025-01-10 11:18:43 +00:00
Download paper.yml
and bukkit.yml
(#3217)
This commit is contained in:
parent
9a20ab7b48
commit
621bafb4f2
1 changed files with 11 additions and 4 deletions
|
@ -42,10 +42,17 @@ else
|
|||
applyResultsFile ${resultsFile}
|
||||
fi
|
||||
|
||||
defaultTopLevelConfigs="bukkit.yml spigot.yml"
|
||||
if versionLessThan 1.19; then
|
||||
defaultTopLevelConfigs+=" paper.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
|
||||
DOWNLOAD_DEFAULTS=$(buildDownloadList "$PAPER_CONFIG_DEFAULTS_REPO" "$VERSION" spigot.yml)
|
||||
fi
|
||||
|
||||
# Download top-level configs to allow for consistent patching
|
||||
DOWNLOAD_DEFAULTS=$(buildDownloadList "$PAPER_CONFIG_DEFAULTS_REPO" "$VERSION" $defaultTopLevelConfigs)
|
||||
export DOWNLOAD_DEFAULTS
|
||||
|
||||
# Normalize on Spigot for downstream operations
|
||||
|
|
Loading…
Reference in a new issue