Suicide mechanic provides unexpected trigger for onDeath triggers

Summary

The suicide mechanic, once used, provides any onDeath trigger with unexpected entities

Steps to reproduce

tnt1:
 Type: husk
 Skills:
 - suicide ~onattack
 - cmd{c=say <trigger.name>} ~ondeath

Current behavior

The above configuration outputs in chat the name of the player that was attacked by the mob

Intended correct behavior

The trigger of the onDeath event is expected to be the mob that casted the suicide mechanic, and not the player that was hit

Assignee Loading
Time tracking Loading