summaryrefslogtreecommitdiff
path: root/hole.lua
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2022-06-27 23:35:25 +0100
committerubq323 <ubq323@ubq323.website>2022-06-27 23:35:25 +0100
commitbd59ebc242dd2486a917fb2eaf83b289c807e353 (patch)
tree2b9390ae2e14faffca60a2fc711b43ef17f2a43a /hole.lua
parent9caee3dc03204371ec99217e86c031e02e2f207e (diff)
pm
Diffstat (limited to 'hole.lua')
-rw-r--r--hole.lua5
1 files changed, 4 insertions, 1 deletions
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