Players get kill credit for self-inflicted enderpearl damage
Describe the bug Like the title describes, if you throw an ender pearl and then fall into the void promptly afterward, the game credits you with both a kill and a death. On death, the chat says, "<Player> was thrown off a high place by <Player> using their hands."
Client version All
To Reproduce Steps to reproduce the bug:
- Throw ender pearl to take damage
- Die
- Gain kill credit (issue especially in TDM as it gives your team +1 kill)
Expected behavior Players don't receive kill credit for self-inflicted deaths.
Additional context This is a significant issue as Babylon is both TDM and uses ender pearls.
I believe self-inflicting damage is a long-standing issue for anything that causes such damage. Look at #695. Attempted to be fixed with #720 but was not merged for reasons explained in the PR.