MCHPR / MCHPRS

A multithreaded Minecraft server built for redstone.
MIT License
1.59k stars 69 forks source link

Fix comments in config files being deleted (#20) #24

Closed garentyler closed 3 years ago

garentyler commented 3 years ago

I fixed #20 by changing the config::merge_config function. It detects which fields are missing from the config and creates a patch for the file, which it then appends to the specified config file.

StackDoubleFlow commented 3 years ago

Nice work!