summaryrefslogtreecommitdiff
path: root/hole.lua
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2022-06-28 00:01:28 +0100
committerubq323 <ubq323@ubq323.website>2022-06-28 00:01:28 +0100
commit1a8533fb0ce967574cf55067c0a56e8d7b03264e (patch)
treedb81f14b7048939bba381dc2d170ed3bdc158a67 /hole.lua
parent27c4e961c8dd4e15d31f52fff87637678cdf5bff (diff)
hole
Diffstat (limited to 'hole.lua')
-rw-r--r--hole.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/hole.lua b/hole.lua
index 461cebf..339ef86 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 v.y < 0 then
+ if s.name ~= "minecraft:air" and s.y < 0 then
local should_add = true
for i,t in ipairs(targets) do