-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Minor
-
None
-
Affects Version/s: None
-
None
-
CraftBukkit version 4406-Spigot-33ece3e-57f48e5 (MC: 1.21.4) (Implementing API version 1.21.4-R0.1-SNAPSHOT)
-
Yes
In older versions, EntityDamageEvent would not be called if the entity had just taken damage and was on its no damage ticks. I'm not sure exactly when this changed, but I think it was around 1.20-1.21.
How to reproduce:
The attached plugin (SpigotBugReport20241217-1.jar
) sends the message "Entity damaged, no damage ticks: <int>" to the console when an entity is damaged.
- Install the attached plugin.
- Place a lava bucket.
- Switch to Survival mode.
- Jump into the lava and look at the console.
Expected result:
The plugin would only send the message to the console every time the player is damaged.
Observed result:
The plugin sends the message to the console for every tick the player is inside the lava, regardless of whether they can take damage.