-
-
Notifications
You must be signed in to change notification settings - Fork 580
EntityDamageByEntityEvent has incorrect damager instance when player uses ender pearls #438
Copy link
Copy link
Open
Labels
status: needs triagetype: bugSomething doesn't work as it was intended to.Something doesn't work as it was intended to.
Description
Expected behavior
EntityDamageByEntityEvent#getDamager() should return CraftEnderPearl.
Debugger shows this value for Paper:

Observed/Actual behavior
EntityDamageByEntityEvent#getDamager() returns Player.

Steps/models to reproduce
- Catch event: EntityDamageByEntityEvent thrown when player uses ender pearl to teleport himself
- Check return value of event#getDamager()
Plugin and Datapack List
EternalCombat
Folia version
This server is running Folia version 1.21.11-11-ver/1.21.11@e112b00 (2026-01-20T18:53:05Z) (Implementing API version 1.21.11-R0.1-SNAPSHOT)
You are running the latest version
Previous version: 1.21.11-100-4873e3f (MC: 1.21.11)
Other
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
status: needs triagetype: bugSomething doesn't work as it was intended to.Something doesn't work as it was intended to.
Type
Fields
Give feedbackNo fields configured for issues without a type.