I have create a new MonoBehaviour class/component which adds a generic item to a BasePlayer's inventory using the OnEnable() method.
I would like to remove that item from the Player's inventory when the entity dies.

I tried to remove the item using the component OnDisable() but when this method is invoked the BasePlayer's inventory is already zeroed.
I assume that's because the BasePlayer is now some kind of PlayerCorpse ?

I could use the OnPlayerDeath hook.. but I would like for my component to be self-sufficient.

Anyone knows, from the OnDisable() invocation:

How can I get access to the player's inventory ?
.. or ..
How can I get access to the created PlayerCorpse and associated with the BasePlayer which died.