Everything of my datapack seems to be fine like load.mcfunction is running and so on, but the advancements are not working
here my advancement
{
"criteria": {
"requirement": {
"trigger": "minecraft:entity_hurt_player"
}
},
"rewards": {
"function": "custom:firegem/passive_b"
}
}
It should run this mcfunction
advancement revoke @s only custom:firegemhit
# Just for testing
say hi
but it is not running the function, file path also seem to be okay.
Please Help me!