XP From Harvest

XP From Harvest

16M Downloads

[1.16.5] Crash when changing config in-game

StellarHarbour opened this issue ยท 1 comments

commented

For context since it's not provided above, this when changing the config using my mod Configured. I've noticed that you are using a non-standard method of registering your Forge config, maybe there is a reason but it's causing the members in ModConfig to not be populated correctly compared to when using the method Forge describes in the documentation.

I've linked the method described by Forge to initialize the ForgeConfigSpec and getting your instance.
https://github.com/MrCrayfish/MrCrayfishFurnitureMod/blob/1.19.X/src/main/java/com/mrcrayfish/furniture/FurnitureConfig.java#L46-L60