
Including this in server files crashes the server
IKilledBlitz opened this issue ยท 3 comments
Heya,
Just letting you know that this mod will actually crash the server if someone tries to put it in their server mods folder. Since it's a client side mod that's fine but it'd be good to do something to make it disable itself if it detects it's a server.
Idk how to do that but other client side mods get auto disabled if they're put in the server files. The same crash can be said for the other Dynamic Surroundings modules as well.
The cause the logs mention is "Attempted to load class net/minecraft/client/multiplayer/PlayerController for invalid dist DEDICATED_SERVER"
Full log here: https://pastebin.com/SP37dTBV
Is SoundControl also on the server?
EDIT: I see it in the crash report. I find that strange. It is complaining about Environs and MobEffects, but not SoundControl.