diff options
-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 |