jpenilla / MiniMOTD

Minecraft server/proxy plugin to set the server list MOTD using MiniMessage for formatting, supporting RGB colors.

Home Page:https://modrinth.com/plugin/minimotd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug Report] Config comments duplicating

Reava opened this issue · comments

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:

  1. have at least 2 motds
  2. remove any comment from these lines
  3. save file & reload the config
  4. 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

Duplicate of #177