I'm trying to make a custom enchants plugin and I tried to make an enchant that breaks all blocks in a 3x3 radius. It doesn't give me any errors but doesn't do anything. My code's below.
The addons I have installed are skRayFall and skUtilities.
Code:
on block break:
if lore of player's held item contains "&8- &eBlast I &8-":
loop all blocks around player in radius 3:
if {@cant-break} contains loop-block:
send "&cYou can't use Blast on %loop-block%!"
else:
break block at location of loop-block
The addons I have installed are skRayFall and skUtilities.