~onAttack still triggers even if damage event is cancelled
~onAttack is still called if the entity damage event is cancelled. An example is: https://pastebin.com/F7ga9kU1 The attacker will still receive the self message and the attacked entity, if a player, will receive the trigger message even if the damage event has been cancelled by an external plugin.