Minecraft Modded Server?

Sk
- in Mods
3

Do any of you know how I can solve this problem? I have a Minecraft server with my own mods. I join my buddy afterwards and the game crashes. It says the following:

The game crashed whilst ticking entity
Error: java.lang.ClassCastException: net.minecraft.client.entity.player.RemoteClientPlayerEntity can't be cast to net.minecraft.client.entity.player.ClientPlayerEntity
Exit code: -1

Link to the crash report:
https://drive.google.com/...com/file/d
/ 1a1FitHr7CD_0PiDj6bs_uN31bDMzUh2s / view? Usp = sharing

I have no idea where the crash came from.

Request for feedback!

ha

Something's wrong when you get this error.

net.minecraft.client.entity.player.RemoteClientPlayerEntity

and

net.minecraft.client.entity.player.ClientPlayerEntity

are two different classes, you would have to solve this differently than a simple assignment.

What might help would be if you tried to reinstall the mod on both clients.

Sk

Thanks for your answer, just which of the mods would that be because I have 48 mods on it?

ha

Can't be answered from a distance. In any case, both players need the same mod no matter how many you are still using and you also have to know which mod it is when you host the server.

Maybe just the mod has a bug.