Crash upon loading when config file is empty
SouthernPixelYT opened this issue ยท 5 comments
crash-2024-04-29_18.35.06-client.txt
I have the latest cloth config, fabric api, and Falling leaves for 1.19.4 Fabric but when I load up the game it crashes
Sorry for the late reply. Thanks for not closing my issue due to inactivity. Here is the config json file
fallingleaves.json
Thanks for coming through with the config!
So let's take a look...
Huh, the config file is empty!
This is what I expected from looking at the code, but at the same time I still have no idea how that empty config even came to be.
Maybe your game crashed at some point while it was writing the config and thus left it empty?
Either way I can finally patch this issue, you weren't the first to run into it I believe.
Probably won't do a backport since it's so rare and easily fixed manually though.
Apparently the config migration fails.
Can you send the fallingleaves.json
file from the config folder? Would really like to know what's going on with it.
After that you can simply delete the file and the issue should be gone.
Ah and btw, for 1.19.4 you should be using Falling Leaves 1.15.6.