execute on target unless entity @s[team=maid] run return run data remove entity @n[tag=maid.getitems,type=interaction] interaction
execute on target unless entity @s[nbt={Inventory:[{components:{"minecraft:custom_data":{broom:1}}}]}] run function ws:work/misc/tier2/maid/givebroom
execute on target unless entity @s[nbt={Inventory:[{components:{"minecraft:custom_data":{mop:1}}}]}] run function ws:work/misc/tier2/maid/givemop
data remove entity @s interaction