PC-Logix / LanteaCraft

A Stargate-themed mod for Minecraft
http://lanteacraft.com
Other
43 stars 21 forks source link

Config doesnt update and doesnt regenerate all the options #420

Open lieven121 opened 8 years ago

lieven121 commented 8 years ago

Submission checklist

when installing a new version the config's should update

and all options should generate when deleting old config

Actual behavior

the config file hasn't updated since v 15 and when I delete it the option for texture quality isn't generated (even it does work look at picture)

and what is version 1.0 because that never updates either

Steps to reproduce

install a older version of ex: LC 2-20 install a new version ex LC 21 look at the configs

System information

image t

AfterLifeLochie commented 8 years ago

when deleting old config

LanteaCraft doesn't delete the old config, it rewrites updated configuration if (and when) new configuration options are added.

the config's should update

Only if new configuration is required.

and when I delete it the option for texture quality isn't generated

Because the code currently does not check the rendering preferences, but this will be added.

what is version 1.0 because that never updates

This is the version of the XML specification, not a LanteaCraft number. It should always be just 1.0.

Essentially the only problem here is that the configuration isn't being observed.

lieven121 commented 8 years ago

so the "last written" is on what version it was updated to a new config? that would make sense thx

and if you look at the picture it does check rendering preferences it just doesn't generate them in config if you place them in manually they work just fine (please don't remove it for now I love the 128 gate)