From 6e6c11cde294d42f07922923974ed34513d2fd18 Mon Sep 17 00:00:00 2001 From: Johannes Fritz Date: Sat, 14 Jan 2023 14:53:52 -0600 Subject: [PATCH] Fix undeclared global variable in mcl_buckets --- mods/ITEMS/mcl_buckets/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_buckets/init.lua b/mods/ITEMS/mcl_buckets/init.lua index 0851c37571..f7acddf4b7 100644 --- a/mods/ITEMS/mcl_buckets/init.lua +++ b/mods/ITEMS/mcl_buckets/init.lua @@ -139,7 +139,7 @@ local function bucket_get_pointed_thing(user) local start = user:get_pos() start.y = start.y + user:get_properties().eye_height local look_dir = user:get_look_dir() - _end = vector.add(start, vector.multiply(look_dir, 5)) + local _end = vector.add(start, vector.multiply(look_dir, 5)) local ray = raycast(start, _end, false, true) for pointed_thing in ray do