summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hole.lua2
1 files changed, 1 insertions, 1 deletions
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