Mojira Archive
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).

Fixed

Marcono1234

hkniberg

2020-06-06, 02:01 AM

2020-06-10, 03:57 PM

2020-06-10, 03:57 PM

5

4

Plausible

Low

Mob behaviour, Player

1.16 Pre-release 2

1.16 Pre-release 3