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

Less recent attacker can be credited for kill

    XMLWordPrintable

Details

    • 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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              CHK: