From b3f4cbe15751dfbe6066211a809a56741a18627a Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 28 Feb 2012 19:55:24 +0200 Subject: [PATCH] Fix pointed.thing.ref -> pointed_thing.ref in builtin.lua --- data/builtin.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/builtin.lua b/data/builtin.lua index b8891c06..eba5b429 100644 --- a/data/builtin.lua +++ b/data/builtin.lua @@ -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 -- 2.30.2