Hello, I have made this skript where when you mine a block, it adds one to a counter of how many blocks you've mined.
It says that there arent any errors but when you break stone it gives you the item but doesnt add to the counter.
How do I fix this?
on break of stone:
event-block is stone:
cancel event
set block to air
add 1 to {mined::%player%}
give player 1 stone named "&fStone" with lore "&f&lBASIC"