Skip to content
Snippets Groups Projects
Commit b3f4cbe1 authored by Perttu Ahola's avatar Perttu Ahola
Browse files

Fix pointed.thing.ref -> pointed_thing.ref in builtin.lua

parent d0491ce8
No related branches found
No related tags found
No related merge requests found
......@@ -106,7 +106,7 @@ function minetest.get_pointed_thing_position(pointed_thing, above)
return pointed_thing.under
end
elseif pointed_thing.type == "object" then
obj = pointed.thing.ref
obj = pointed_thing.ref
if obj ~= nil then
return obj:getpos()
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment