qouteall / ImmersivePortalsModForForge

Apache License 2.0
53 stars 21 forks source link

Mod polluting the whole game instance #208

Open ChromaPIE opened 3 years ago

ChromaPIE commented 3 years ago

When playing in a game instance which once has Immersive Portals installed and runned but not present at the time, getting exp orbs would shut the game, all of a sudden, showing the following info: image

And in the log it shows:

[20:45:19] [Server thread/INFO] [minecraft/ServerPlayNetHandler]: ChromaPIE lost connection: Internal Exception: java.lang.ClassCastException: class net.minecraft.network.play.ServerPlayNetHandler cannot be cast to class net.minecraft.client.network.play.IClientPlayNetHandler (net.minecraft.network.play.ServerPlayNetHandler and net.minecraft.client.network.play.IClientPlayNetHandler are in unnamed module of loader cpw.mods.modlauncher.TransformingClassLoader @22277482)

qouteall commented 3 years ago

Does this issue happen with only IP installed?

ChromaPIE commented 3 years ago

Does this issue happen with only IP installed?

IP would actaully fix it, but once without, it will happen. So I'm kinda sure it's IP. However I'm not against giving it a try if you want.

: Tried with zero mods, all fine. Starting to suspect every mods in my instance.

: I created a new instance and separated all mods into a couple of groups and runned the game with each group but unfortunately all of them showed no problems, but when all 71 mods are present, what has been described above would happen. Undoubtedly more than one mod are the cause. Screenshots showing all 71 mods: https://imgur.com/a/dDf2zmS | https://imgur.com/a/9nrFg0w

: OK. The two mods are Big Brain and First-person Model. Crash would happen with these two mods but with Immersive Portals it's all fine. Now things got weird because seems like it's not IP polluting instances, it's like IP somehow fixing the conflict between those two mods.