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