Fix cause matching in `EntityDamaged/KilledScriptEvent` (#2392)* Fix `EntityDamagedScriptEvent` cause matching* Fix `EntityKilledScriptEvent` cause matching (commit: ba8762c)