Closed ChristopherHaws closed 2 years ago
From the logs I was able to determine that the bad config value is "fi.dy.masa.malilib.gui.GuiColorEditorHSV": false,
. After removing this line the game launches.
Hmm I see why this can crash, I have a thing here where it does Class::fromName
to get the class from the name in order to store it in a map, but I guess that class tries to load some shaders when it's loaded.
https://github.com/PieKing1215/InvMove/blob/c41f822e4832caf94a23bbfbe7cb9fcf98b57ff5/common/src/main/java/me/pieking1215/invmove/InvMoveConfig.java#L441
I think if I change it to use the alternate forName(String name, boolean initialize, ClassLoader loader)
with initialize=false it should stop that from happening. Otherwise I can change it to not use forName
at all and just store strings in the map instead, should be a pretty quick fix either way
Fixed for next release hopefully within a couple days
I am having an issue with this mod where some setting is being written to the file and from that point forward my game crashes on startup. When I delete the config files the game launches fine but eventually stops again and I have to delete the config files again.
Here is the logs:
The config files themself look like they are valid json, so I am not sure what it causing the crash. Here are the config files that are crashing my MC:
vanilla.json:
unrecognized.json
cloth-config.json