OkaeriPoland / okaeri-configs

Simple Java/POJO config library written with love and Lombok
MIT License
83 stars 11 forks source link

Comments are not working inside map | yaml-bukkit #17

Closed arthurr0 closed 3 years ago

arthurr0 commented 3 years ago

Describe the bug Object with extends Okaeri Configs on map doesn't haas comments.

Library version 3.1.0

Config classes and setup routine obraz obraz obraz

dasavick commented 3 years ago

This is a limitation of bukkit's YAML implementation, which does not provide any sensible way of implementing comments. The current implementation uses a simplified parser to apply some of these, capability extending PRs are welcome. The limitation is already described in the module's README: https://github.com/OkaeriPoland/okaeri-configs/tree/master/yaml-bukkit#limitations