Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-260903

Less recent attacker can be credited for kill


    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.20 Pre-release 3
    • 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.

            boq [Mojang] Bartosz Bok
            Shuddery Shuddery
            21 Vote for this issue
            14 Start watching this issue