this is supposed to detect the block break in that coordinatecommand /sethack farmlands:
trigger:
if player has permission "tas.admin":
if targeted block is light blue stained glass:
if {farmland::%location of targeted block%} is not set:
set {_loc} to location of targeted block
set {farmland::%{_loc}%} to {_loc}
message "&7Inserting hacking module."
else:
message "&e&l(!)&7 Command not found."
on break of light blue stained glass:
if location of event block = {farmland::%{_loc}%}
cancel event
message "&7Inserting hacking module."