Pokécube Resources

Pokécube Resources

913 Downloads

.cfg file that changes when minecraft starts

Skyloq opened this issue · 1 comments

commented

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:

  1. Modifie Pokecube.cfg by adding pokemobs_spawns_new
  2. Create pokemobs_spawns_new by copying pokemobs_spawns
  3. Modifie pokemobs_spawns_new.json
  4. Save the modification
  5. Launch Minecraft ( With Pokecube )
  6. Back to Pokecube.cfg and see that the file has been modified ( pokemobs_spawns_new deleted )

Affected Versions (Do not use "latest"):

image

  • Minecraft: 1.12.2
  • Forge: forge-1.12.2-14.23.3.2655
commented

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