mirror of
https://github.com/minetest/minetest.git
synced 2024-11-24 00:23:46 +01:00
Fix pointed.thing.ref -> pointed_thing.ref in builtin.lua
This commit is contained in:
parent
d0491ce8b6
commit
b3f4cbe157
@ -106,7 +106,7 @@ function minetest.get_pointed_thing_position(pointed_thing, above)
|
|||||||
return pointed_thing.under
|
return pointed_thing.under
|
||||||
end
|
end
|
||||||
elseif pointed_thing.type == "object" then
|
elseif pointed_thing.type == "object" then
|
||||||
obj = pointed.thing.ref
|
obj = pointed_thing.ref
|
||||||
if obj ~= nil then
|
if obj ~= nil then
|
||||||
return obj:getpos()
|
return obj:getpos()
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user