Hex Casting

Hex Casting

6M Downloads

[0.10.3] Configs don't persist through restarts

object-Object opened this issue ยท 3 comments

commented

Using Fabric.

  • Change a config option in Mod Menu (tested with denied actions)
  • Try the configured thing, see that it changed
  • Restart your game
  • Try the configured thing / look at Mod Menu, see that it reverted to the default
commented

From what I saw, only list with disallowed spells and spell circles are being cleared, the first setting (about break block spell) does not being reverted

commented

Late here, but it's only fabric issue

commented

Seems like this doesn't occur when using GsonConfigSerializer instead of JanksonConfigSerializer. Not sure if there's another way to fix it. As max said, the bug only happens with lists, not primitives.
https://github.com/gamma-delta/HexMod/blob/4b8c91505426817050082bcd1cf709abf357b079/Fabric/src/main/java/at/petrak/hexcasting/fabric/FabricHexConfig.java#L41