ClassCastException: class net.minecraft.client.multiplayer.ClientLevel cannot be cast to class net.minecraft.server.level.ServerLevel
pietro-lopes opened this issue ยท 1 comments
Minecraft Version
1.21.1
Immersive Engineering Version
12.3.1-189
How did it happen?
Original issue:
MD Dev said Immersive Eng is calling capabilities on the client side and it is not right
Crash Log
at original issue
I... don't see how this is our fault? Modern Dynamics is doing an unchecked cast there where they really shouldn't be.
As far as I am aware, there is nothing in the NeoForge docs that says that capabilities shouldn't be checked on the client side, and we very much rely on those in order to figure out if our pipes should render their connections...
I'm gonna close this for now, and say it's on MD to add a sanity check there.