I want the skript to cancel the drop when a block is mined and give the player the item directly but when i mine a grass block or ore i get the block if it's mined with silktouch pleas help..
on mine:
if event-block is not air:
set {_mined_block} to event-block
cancel event
if player can't hold {_mined_block}:
stop
else:
set event-block to air
give {_mined_block} to player