mojira.dev
MC-261727

Incorrect player kill credit using /effect and /kill from command block after player gets attacked

How to replicate:

Step 1 - Put a repeating command block that does /effect or /kill in a certain area (e.g. /kill @a[distance=..10])

Step 2 - Player A attacks Player C; Player B knocks back player C into the deadly area

Step 3 - Death message: "Player C didn't want to live in the same world as Player A" even though Player B hit later than Player A did.

As seen in the attachment, IluZhon knocked back MoonCapt, Ezxera, and RLYellowbasher into a /effect instant damage area, but did not credit IluZhon for the kills, and instead someone else.

Linked issues

Attachments

Comments 2

migrated

Duplicate of MC-260903.

Arisa Bot

Thank you for your report!
We're tracking this issue in MC-260903, 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.

migrated

(Unassigned)

Unconfirmed

(Unassigned)

1.19.4

Retrieved