Shovinus / ChopDownUpdated

Realistic Minecraft Tree Chopping
Other
6 stars 3 forks source link

Custom configuration deleted when config version changes #21

Closed esotericist closed 5 years ago

esotericist commented 6 years ago

It seems like every time CONFIG_VERSION changes, all of my custom configuration entries (in ignoreTools and sharedLeaves) are deleted rather than migrated, even though they're in the same configuration key and same format.

esotericist commented 6 years ago

Examples, in case that's somehow helpful:

    S:ignoreTools <
        tconstruct:lumberaxe:.*
        thaumcraft:elemental_axe:.*
        astralsorcery:chargedcrystalaxe:.*
        botania:terraaxe:.*
     >
    S:sharedLeaves <
        harvestcraft:beehive:0
        rustic:beehive:0
        forestry:beehives:0
        forestry:beehives:1
        forestry:beehives:2
        forestry:beehives:3
        forestry:beehives:4
        forestry:beehives:5
        forestry:beehives:6
        magicbees:hiveblock:0
        magicbees:hiveblock:1
        magicbees:hiveblock:2
        magicbees:hiveblock:3
        magicbees:hiveblock:4
        magicbees:hiveblock:5
     >
Shovinus commented 6 years ago

Yes, this is semi intentional behaviour, there was a lot of people that didn't realise they needed to clear the old config to get any new trees add and this caused issues so I opted for auto deleting each version change. Really I should make it save the old configs in a backup location somewhere.

Shovinus commented 5 years ago

9f0a77b Fixed, how old config is backed up to old file