How to make it so that custom advancement only targets ppl in adventure mode
{ "criteria": { "inv_update": { "trigger": "minecraft:inventory_changed", "conditions": {} } }, "rewards": { "function": "rust:inv_update" } }