[v1.4.1] Server crashing when loading the mod in the dedicated server enviroment.
levitatin opened this issue ยท 2 comments
When upgrading to latest version this is happening
Hello. Thank you for submitting a bug report. According to the log, it appears the crash is not caused by betterstats trying to load a config file. It is instead caused by the mod trying to access a class that doesn't exist. According to the logs, this is likely because you attempted to load the mod in a dedicated server enviroment, even though the mod is mainly client-side.
That Could not load 'betterstats' config for the '[config name here]'.
is just an info message letting you know the mod couldn't find a config. It doesn't crash your game or anything. After recreating the bug myself, it appears the crash is caused by the Fabric loader attempting to load GUI components (which for obvious reasons do not exist on servers), which makes sense given the fact that this mod is a GUI mod (which is client-side only).
To resolve this issue, try removing the mod from the server's mods list entirely. You don't need it there anyways. I will still look into this and see if I can do something to resolve this, as I don't want the mod crashing servers when placed in a server's mods folder.