I’m messing with vanilla recipes and I’m still pretty new to it

I have an ‘execute if’ command in tick.mcfunction and I want it to remove the mace recipe when happens. The command is: execute if entity @a [blank] run recipe take @a minecraft:mace this does not work.

Continue to help post