davenonymous / RiddleChests

A homage to the old role playing game Betrayal at Krondor, adds riddle chests to Minecraft.
https://www.curseforge.com/minecraft/mc-mods/riddle-chests
MIT License
2 stars 3 forks source link

Change the config list values to use `defineListAllowEmpty` to stop them from being corrected into non-existance #15

Closed Mrbysco closed 2 years ago

Mrbysco commented 2 years ago

Currently due to the use of the regular define method which isn't build for lists the config options get nuked when checked if the configs are correct. Due to the list values being erased it'll remake the config every time you load the mod.

So currently when you boot up the mod the config will look like this (Pastebin)

After applying the fixes from this PR it looks like this (Pastebin)

(This issue is also in the 1.18.1 version)

davenonymous commented 2 years ago

Thanks! darkoDance