The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

Binding of Isaac - Afterbirth+ Workshop
Download community-created content for The Binding of Isaac: Afterbirth+ and share your own creations with other players!
Learn More
How to make invincibility by using active items?
I've tried to make that by making ModCallbacks.MC_ENTITY_TAKE_DMG return False when invincibility time didn't pass after using item and entity is player, but somehow "Entity" equals nil, doesn't matter who is receiving the damage.
Maybe you know the way, how i can make character invincible for a certain time after using active item?:isaac: