sakurawald / fuji

A mod that ports EssentialsX / CMI from bukkit to fabric.
GNU General Public License v3.0
37 stars 5 forks source link

[bug] whenever i reload the config the config restores to its default config #202

Closed TinyMandalorian closed 3 hours ago

TinyMandalorian commented 3 hours ago

Are you using the latest available version for your server?

Is there an existing issue for this?

Current Behavior

for example im trying to mess with the command_event module i removed all the events except for the join events but it resets to default whenever I reload the mod or restart the server no errors

Expected Behavior

No response

Steps To Reproduce

No response

Server Logs

No response

Anything else?

No response

sakurawald commented 3 hours ago

If you want to delete all commands in an event, just write:

...
"command_list": []
...

This is the properly semantics.

If you delete the whole command_list in the configuration, then it means a broken structure, fuji will try to fix this by generating a default configuration.