How to get the entity that the throwable latches on to

Hi umod comminity,

I just started getting into rust plugin development. I am having difficult in getting the entity the throwable (C4, Satchel etc) has latched on to. I am currently trying to make a plugin that stops certain players from doing damage to bradley. Using OnEntityTakeDamage I am able to stop bullets from damaging bradley. How would one go with C4 or rockets.? I'm reading up on OnExplosiveThrown but I'm stuck there. Thank you for your time.

You could just use OnEntityTakeDamage and check the player in the hitinfo.