diff options
author | ubq323 <ubq323@ubq323.website> | 2022-06-27 23:35:25 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2022-06-27 23:35:25 +0100 |
commit | bd59ebc242dd2486a917fb2eaf83b289c807e353 (patch) | |
tree | 2b9390ae2e14faffca60a2fc711b43ef17f2a43a | |
parent | 9caee3dc03204371ec99217e86c031e02e2f207e (diff) |
pm
-rw-r--r-- | hole.lua | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |