-
Bug
-
Resolution: Fixed
-
1.19.4 Release Candidate 2, 1.19.4, 23w13a
-
None
-
Confirmed
-
Combat, Text
-
Important
-
Platform
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.
- is duplicated by
-
MC-261406 Previous attacker is credited for kill despite being overridden by new attacker
- Resolved
-
MC-261587 playerkills Scoreboard objective and player killed entity advancement do not track correctly
- Resolved
-
MC-261727 Incorrect player kill credit using /effect and /kill from command block after player gets attacked
- Resolved