OreCruncher / MobEffects

Minecraft 1.14.4 Forge mod that adds various effects to mobs
GNU General Public License v3.0
3 stars 1 forks source link

Including this in server files crashes the server #6

Open IKilledBlitz opened 4 years ago

IKilledBlitz commented 4 years ago

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

OreCruncher commented 4 years ago

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.

Alaberti commented 4 years ago

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

kreezxil commented 3 years ago

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?