Having config options that allow to specify items that disable this mod while in inventory would be a great addition.
Here is an example config in JSON (I don't know toml well enough to give an example):
{
"disableWithItems": [
{ "item": "minecraft:lantern", "slots": ["curios:belt", "minecraft:hotbar"] },
{ "item": "custom:mining_helmet", "slots": ["minecraft:head"] },
{ "item": "#minecraft:candles", "slots": ["minecraft:main_hand", "minecraft:off_hand"] },
{ "item": "custom:totem_of_enlightenment", "slots": ["*"] }
]
}