summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2022-06-28 00:05:50 +0100
committerubq323 <ubq323@ubq323.website>2022-06-28 00:05:50 +0100
commitc16e2ea2ca130185645701ac1801e27db6649488 (patch)
treee280bf75736e40c4442c7bca310d005b1bc15c83
parent1a8533fb0ce967574cf55067c0a56e8d7b03264e (diff)
hole
-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