on mine of iron ore:
if player's held item is wooden pickaxe:
cancel event
send "&b&nStone pickaxe or higher &f&nneeded to mine in this cave!"
else:
cancel event
set event-block to stone
give player 1 iron ore
wait 7 seconds
set event-block to iron ore
These exact lines work just fine for coal ore and cobble stone. However, When I mine Iron ore with a wooden pickaxe, it just disappears, instead of doing nothing. The part where it gives me the Iron ore works fine, however.
Edit: I tried restarting the server and that didn't work either.