Wraamon and Pixen crash minecraft client connections on hit (forge+sponge server)
A similar issue to this was already opened here, but has not been solved yet. It's "similar" but not the same, because I do not only get crashes with Wraamons, but also with Pixens.
Server information
- Forge + sponge mod (no plugins added yet)
- Running "RLCraft 1.12.2 - Beta v2.8.2" server modpack (today I updated LycanitesMobs mod version to 2.0.7.2, but that didn't solve the crashes)
Description of the issue
Wraamons and Pixens will crash your client if they hit you.
- Wraamon error message (on first hit):
"A fatal error has occurred, this connection is terminated"
- Pixen error message (on second/third hit):
"A fatal error has occurred, this connection is terminated"
Whenever somebody crashes, even if they reconnect to the server, they'll be stuck at the same point getting the crash again and again. Basically, if you crash you "can't enter" to the server again.
Temporal "solution" I found to this issue
It seems that this crash has something to do with hp values, status effects...and how lycanites mobs mod interacts with this.
Why do I think so?
Because If a person crashes, when they want to join all I have to do is switch their gamemode to 1.
Usually the error happens so fast that even if your gamemode is changed, you'll get a second crash. But when you reconnect, all it's solved. You can switch to survival mode again without an issue.
PS: Lastly, I want to add that my server never gets a crash nor gets shut down. This is a client-sided issue I think.
The problem is, different people with different clients are getting the same crash, with the same exact mobs.
I'll provide with any log necessary when you ask me. Thanks in advance.
EDIT 1: I've read here that newer versions of Optifine will crash, so I tested this using version E3. Also, I tested using no Optifine at all. Neither of both options solved anything, so Optifine is not the problem here.
EDIT 2: I've narrowed down the issue, to the point I now know, this has to do with potion effects. Instability is the problem here. Every mob that would apply this effect to a player, will make them crash. They have to be in survival mode for this issue to arise.
EDIT 3: This is an interesting thread with Sponge support, which explains almost all about this issue. This is a big bug between Lycanites Mobs mod and Sponge mod. Where should the code be fixed? I don't know. https://forums.spongepowered.org/t/instability-potion-effect-from-rlcraft-modpack-crashes-all-minecraft-clients-forge-sponge-server/38587