File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 4242 applyResultsFile ${resultsFile}
4343fi
4444
45- # Download default configs to allow for consistent patching
46- DOWNLOAD_DEFAULT_CONFIGS=$( buildDownloadList " $PAPER_CONFIG_DEFAULTS_REPO " " $VERSION " paper-global.yml paper-world-defaults.yml)
47- export DOWNLOAD_DEFAULT_CONFIGS
48- DOWNLOAD_DEFAULTS=$( buildDownloadList " $PAPER_CONFIG_DEFAULTS_REPO " " $VERSION " spigot.yml)
45+ defaultTopLevelConfigs=" bukkit.yml spigot.yml"
46+ if versionLessThan 1.19; then
47+ defaultTopLevelConfigs+=" paper.yml"
48+ else
49+ # Download default configs to allow for consistent patching
50+ DOWNLOAD_DEFAULT_CONFIGS=$( buildDownloadList " $PAPER_CONFIG_DEFAULTS_REPO " " $VERSION " paper-global.yml paper-world-defaults.yml)
51+ export DOWNLOAD_DEFAULT_CONFIGS
52+ fi
53+
54+ # Download top-level configs to allow for consistent patching
55+ DOWNLOAD_DEFAULTS=$( buildDownloadList " $PAPER_CONFIG_DEFAULTS_REPO " " $VERSION " $defaultTopLevelConfigs )
4956export DOWNLOAD_DEFAULTS
5057
5158# Normalize on Spigot for downstream operations
You can’t perform that action at this time.
0 commit comments