-
-
Notifications
You must be signed in to change notification settings - Fork 546
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
config.yml written without comments #2078
Comments
i don't think we do anything paper-specific here tbh, only way i can see this happening is if spigot ships a broken snakeyaml lib and paper doesn't somehow. |
OK, thanks. I'll pursue that line. |
|
This doesn't seem to be a spigot-specific issue, I get the same behaviour on Paper. When the files are initially created they have comments, after you restart your server once the comments are gone. |
Agreed. Paper wasn't available when I originally posted the issue. Changed title to reflect generality. |
WorldEdit Version
7.3.1-6745
WorldGuard Version
7.0.10-2266
Platform Version
Spigot 1.20.6-4142
Confirmations
Bug Description
On server start-up,
plugins/WorldGuard/config.yml
is (re)written without comments at top of file. The comments are contained in thedefaults/config.yml
file in the JAR. The comments are (re)written on Paper 1.20.6, and on both Paper and Spigot with previous versions of WorldGuard.Expected Behavior
Rewrite file with comments, regardless of platform.
Reproduction Steps
Optional WorldGuard-Report
No response
Anything Else?
No response
The text was updated successfully, but these errors were encountered: