[Bug Report] Config comments duplicating
Reava opened this issue · comments
Reava commented
Describe the bug
In the main config file, if the comments about the icon config is erased, the mod will automatically paste it back on every single motd entry, this can be quite annoying in very large motd collections, since it doubles the line count of every motd entry.
To Reproduce
Steps to reproduce the behavior:
- have at least 2 motds
- remove any comment from these lines
- save file & reload the config
- See issue
Expected behavior
Comments don't need to be parsed on each one, have them be above the first motd or not reparse after deletion.
Server Software and Version:
- Vendor: Fabric
- Minecraft Version: 1.20.4
- minimotd-fabric-mc1.20.4-2.1.0
Jason Penilla commented
Duplicate of #177