From bd59ebc242dd2486a917fb2eaf83b289c807e353 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Mon, 27 Jun 2022 23:35:25 +0100 Subject: pm --- hole.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hole.lua b/hole.lua index 6c2501a..2d45af6 100644 --- a/hole.lua +++ b/hole.lua @@ -12,7 +12,10 @@ repeat local targets = {} local scanned = scanner.scan() for _,v in ipairs(scanned) do - if v.name == "minecraft:cobblestone" then + if v.z <= 7 and v.z >= -8 + and v.x <= 7 and v.x >= -8 + and v.y < 0 then + table.insert(targets,v) end end -- cgit v1.2.3