Dynamic Surroundings: MobEffects

Dynamic Surroundings: MobEffects

97.5k Downloads

Including this in server files crashes the server

IKilledBlitz opened this issue ยท 3 comments

commented

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

commented

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.

commented

Hello! Is this fix headed to release soon? Thanks!

commented

I see a tag where it says this is fixed in dev, but i just updated a pack of mine that his this in it and absent mindedly added it to the server and got all the errors reported here.

Leaving my question at are you alive?

and if you're alive, are you alright?