Chumbanotz / MutantBeasts

The popular Mutant Creatures mod in modern Minecraft
https://www.curseforge.com/minecraft/mc-mods/mutant-beasts
GNU Affero General Public License v3.0
13 stars 14 forks source link

Crash: ClientPlayerEntity should not be used on a dedicated server. #4

Closed Vaelzan closed 4 years ago

Vaelzan commented 4 years ago

See this line:

https://github.com/Chumbanotz/MutantBeasts/blob/21c69708f07ff722b6203bbeb51948911693e059/src/main/java/chumbanotz/mutantbeasts/EventHandler.java#L105

This will crash any dedicated server as soon as the player is hurt as you are calling client-side code.

Chumbanotz commented 4 years ago

I've already realized that would be an issue, but thanks for the report anyway.