Corosauce / weather2

Minecraft Forge Mod - Localized Weather - A rewrite of weather & tornados with a focus on localized storm systems
Other
146 stars 77 forks source link

[BUG? 1.18.2-2.7.4] Cannot edit config files without them reverting to defaults (serverside) #520

Closed ProfessorFartsalot closed 1 year ago

ProfessorFartsalot commented 1 year ago

When editing config files, they give a log of "Configuration file /home/container/config/Weather2/Misc.toml is invalid. Correcting" and then it resets them to default. This is the same for Sand.toml even though I haven't edited the file.

I've discussed this over on the Night Config repo and TheElectronWill said they could find no issue with the file specifically and to open an issue over here regarding the situation.

Forge: 40.2.0 Weather2: 1.18.2-2.7.1

@TheElectronWill/night-config/issue/67

ProfessorFartsalot commented 1 year ago

Update: After a few server restarts and updating to 2.7.4, it appears this issue is no longer happening.

ProfessorFartsalot commented 1 year ago

Update: No matter what editor I use or encoding, the console gives me the following:

[16:51:10] [Thread-0/WARN] [ne.mi.fm.co.ConfigFileTypeHandler/CONFIG]: Configuration file /home/container/config/Weather2/Misc.toml is not correct. Correcting
[16:51:10] [Thread-0/WARN] [ne.mi.fm.co.ConfigFileTypeHandler/CONFIG]: Configuration file /home/container/config/Weather2/Sand.toml is not correct. Correcting
[16:51:10] [Thread-0/WARN] [ne.mi.fm.co.ConfigFileTypeHandler/CONFIG]: Configuration file /home/container/config/Weather2/Storm.toml is not correct. Correcting
[16:51:10] [Thread-0/WARN] [ne.mi.fm.co.ConfigFileTypeHandler/CONFIG]: Configuration file /home/container/config/Weather2/Particle.toml is not correct. Correcting
[16:51:10] [Thread-0/WARN] [ne.mi.fm.co.ConfigFileTypeHandler/CONFIG]: Configuration file /home/container/config/Weather2/Foliage.toml is not correct. Correcting

Any help would be appreciated. Thanks! :smile:

HonzaVinCZ commented 1 year ago

Can anyone test if that fixed this issue, please? https://www.curseforge.com/minecraft/mc-mods/coroutil/files/4331325

ProfessorFartsalot commented 1 year ago

Fixed by CoroUtil 1.2.44.