mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 18:41:09 +01:00
Fix undeclared global variable in mcl_buckets
This commit is contained in:
parent
8feefcdd7b
commit
6e6c11cde2
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ local function bucket_get_pointed_thing(user)
|
||||||
local start = user:get_pos()
|
local start = user:get_pos()
|
||||||
start.y = start.y + user:get_properties().eye_height
|
start.y = start.y + user:get_properties().eye_height
|
||||||
local look_dir = user:get_look_dir()
|
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)
|
local ray = raycast(start, _end, false, true)
|
||||||
for pointed_thing in ray do
|
for pointed_thing in ray do
|
||||||
|
|
Loading…
Reference in a new issue