EngineHub / EngineHub/WorldGuard

config.yml written without comments

Open
#2,078 5 comments 0 reactions 0 assignees View on GitHub
status:pending type:bug
Dominant language
Java
Stars
938
Forks
671
PR merge metrics
No merged PRs in 30d

Description

### WorldEdit Version

7.3.1-6745

### WorldGuard Version

7.0.10-2266

### Platform Version

Spigot 1.20.6-4142

### Confirmations

- [X] I am using the most recent Minecraft release.
- [X] I am using a version of WorldEdit compatible with my Minecraft version.
- [X] I am using a version of WorldGuard compatible with my Minecraft version.
- [X] I am using the latest or recommended version of my platform software.
- [X] I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
- [X] I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

### Bug Description

On server start-up, `plugins/WorldGuard/config.yml` is (re)written without comments at top of file. The comments are contained in the `defaults/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

1. Update to Spigot 1.20.6
2. Update to WorldGuard build 2266
3. Start server
4. Compare files

### Optional WorldGuard-Report

_No response_

### Anything Else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.