Trying to detect maces crafted in 1.21.8

So I made a scoreboard using /scoreboard objectives add mace_crafted minecraft.crafted:minecraft.mace And I added players to it. I want a players score to go up by one whenever they craft a mace. For some reason this isn’t working. Any idea why?

Continue to help post