.cfg file that changes when minecraft starts
Skyloq opened this issue · 1 comments
What happens:
I use this method ( #289 ) to modify the spawn of pokemons, but when launching minecraft the pokecube.cfg file is modified and no longer contains the line of code that allows the pokemobs_spawns_new.json file to execute
The method was working fine before I updated pokecube-mobs and pokecube-revival
Steps to reproduce:
- Modifie Pokecube.cfg by adding pokemobs_spawns_new
- Create pokemobs_spawns_new by copying pokemobs_spawns
- Modifie pokemobs_spawns_new.json
- Save the modification
- Launch Minecraft ( With Pokecube )
- Back to Pokecube.cfg and see that the file has been modified ( pokemobs_spawns_new deleted )
Affected Versions (Do not use "latest"):
- Minecraft: 1.12.2
- Forge: forge-1.12.2-14.23.3.2655
that is very odd, pokecube mobs and revival shouldn't be affecting the pokecube core cfg, the cfg does "change" on startup, as it loads the values and then re-saves the files, but it shouldn't remove any valid config options that are added. I will look into this in my development environment and see if I can find anything