heres the code
on mine of cobblestone:
if player's gamemode is not creative:
if "%region at event-block%" contains "cobblestone1 in world (planet_mining)":
wait 1 second
set all blocks in region "cobblestone1" to cobblestone
``` it shows no error it just doesn't set the blocks to cobblesotne back