tristankechlo / ToolLeveling

Minecraft Mod: Tool Leveling | upgrade your enchantments higher than the vanilla limit
https://www.curseforge.com/minecraft/mc-mods/tool-leveling-plus
Other
3 stars 5 forks source link

can't add more items #42

Closed Alucard987 closed 7 months ago

Alucard987 commented 1 year ago

i trying to add more items to levels and enchantments. but when the mod load the config on minecraft, config file are restore previous config.

tristankechlo commented 1 year ago

if the config keeps resetting, there is a problem with the format of the file
you can test your file (before loading the game) for a proper format here https://jsonlint.com/

Alucard987 commented 1 year ago

i use the tool for the format. keeps on same trouble

tristankechlo commented 1 year ago

Can you send me the config? The way you want it to be, before starting the game.
Will have a look over it and try it myself.

tristankechlo commented 1 year ago

Just had someone report a similar issue, do you mean

"bonus_item_more_levels" : [
    {
        "item" : "..."
    },
    {
        "item" : "..."
    }
]

resets back to

"bonus_item_more_levels" : {
    "item" : "..."
}

when the config loads?

tristankechlo commented 7 months ago

Closing this, due to no activity.
Additionally a fix was pushed in https://github.com/tristankechlo/ToolLeveling/commit/df75d505fe902b9020cbfe5b2a8b45ff71709046 that should fix this error. (not yet build and released)