Mojira Archive
MC-260903

Less recent attacker can be credited for kill

The bug

A less recent attacker than the one that actually caused a player's death can be credited as the killer, appearing in death messages and affecting scoreboards and statistics as mentioned in this comment.

Steps to Reproduce

1) Take one hit from a zombie
2) Take one hit from a husk afterwards
3) Run /kill

Observed result

"Player didn't want to live in the same world as Zombie"

Expected result

"Player didn't want to live in the same world as Husk" since the Husk dealt the most recent damage to the player.

Fixed

Shuddery

[Mojang] Bartosz Bok

2023-03-10, 09:09 PM

2023-07-26, 10:49 AM

2023-05-19, 09:49 AM

21

14

Confirmed

Important

Platform

Combat, Text

1.19.4 Release Candidate 2, 1.19.4, 23w13a

1.20 Pre-release 3