Commit 621bafb 1 parent 9a20ab7 commit 621bafb Copy full SHA for 621bafb
File tree 1 file changed +11
-4
lines changed
1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 42
42
applyResultsFile ${resultsFile}
43
43
fi
44
44
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 )
49
56
export DOWNLOAD_DEFAULTS
50
57
51
58
# Normalize on Spigot for downstream operations
You can’t perform that action at this time.
0 commit comments