Expected behavior
I expect wolves to not get damaged when players hit them and EntityDamageByEntityEvent is cancelled.
Observed/Actual behavior
The Wolf entity gets damaged by the player
Steps/models to reproduce
- Cancel the EntityDamageByEntityEvent completely
- Load into a world and summon a wolf
- Try to hit it and observe the outcome
Plugin and Datapack List
A custom plugin with just the cancellation of the EntityDamageByEntityEvent
Paper version
This server is running Paper version 1.21.4-78-main@49d15f6 (2025-01-07T18:45:42Z) (Implementing API version 1.21.4-R0.1-SNAPSHOT)
You are running the latest version
Previous version: 1.21.4-68-9298f59 (MC: 1.21.4)
Other
No response
Expected behavior
I expect wolves to not get damaged when players hit them and EntityDamageByEntityEvent is cancelled.
Observed/Actual behavior
The Wolf entity gets damaged by the player
Steps/models to reproduce
Plugin and Datapack List
A custom plugin with just the cancellation of the EntityDamageByEntityEvent
Paper version
This server is running Paper version 1.21.4-78-main@49d15f6 (2025-01-07T18:45:42Z) (Implementing API version 1.21.4-R0.1-SNAPSHOT)
You are running the latest version
Previous version: 1.21.4-68-9298f59 (MC: 1.21.4)
Other
No response