mojira.dev
MC-245435

Death message shows player's held item instead of the bow if entity is killed with a TNT ignited by a fire arrow

Death message shows wrong item name if Player kills an entity that shows death message upon death(e.g. another player or tamed wolf) by igniting a TNT with fire arrow, and quickly switches held item to any named item before TNT blows up.

What I expected to happen was...:
Death message should say that the player killed the entity with the bow that ignited the TNT.

What actually happened was...:
Death message says that the player's currently held item was a source of death.

Steps to Reproduce:
1. Place a bow with Flame enchantment, and any named item into hotbar.
2. Place TNT beside an entity that shows death message upon death.
3. Ignite TNT with bow.
4. Quickly switch held item to the named item before TNT blows up.

Linked issues

Attachments

Comments 3

Duplicates MC-222677
I'm not sure. I think it's basically the same as this.

Oh, it is duplicate. sorry. Can someone close this one?

Thank you for your report!
We're tracking this issue in MC-222677, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

Woohyun Shin

(Unassigned)

Unconfirmed

1.18.1

Retrieved