You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One would expect EntityDamageByEntityEvent to fire when an entity inflicts damage on another entity.
However, I've found out that EntityDamageByEntityEvent is fired everytime a player left-clicks an entity, regardless if the hit would not be effective due to invincibility frames. The damage field in EntityDamageByEntityEvent also does not represent the actual damage the entity took, but rather the weapon damage of the attacking entity.