mojira.dev
MC-187739

NeutralMob.playerDied(Player) does not return if forgiveDeadPlayers = false

The bug

1.16-pre2, Mojang names

It looks like the method net.minecraft.world.entity.NeutralMob.playerDied(Player) is missing a return statement for the case that the gamerule forgiveDeadPlayers == false (currently there is just an empty if-statement).

Note that this currently has no effect on the game because that method is only called if forgiveDeadPlayers == true (see call hierarchy).

Comments 0

No comments.

marcono1234

migrated

Plausible

Low

Mob behaviour, Player

1.16 Pre-release 2

1.16 Pre-release 3

Retrieved