From c16e2ea2ca130185645701ac1801e27db6649488 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Tue, 28 Jun 2022 00:05:50 +0100 Subject: hole --- hole.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hole.lua b/hole.lua index 339ef86..fa7b150 100644 --- a/hole.lua +++ b/hole.lua @@ -12,7 +12,7 @@ while true do local scanned = scanner.scan() local targets = {} for _,s in ipairs(scanned) do - if s.name ~= "minecraft:air" and s.y < 0 then + if s.name ~= "minecraft:air" and s.y < 0 and s.y > -5 then local should_add = true for i,t in ipairs(targets) do -- cgit v1.2.3