Mutant Beasts

Mutant Beasts

15M Downloads

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

Vaelzan opened this issue ยท 1 comments

commented

See this line:

if (livingEntity instanceof PlayerEntity && !(livingEntity instanceof ClientPlayerEntity)) {

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

commented

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