renamed obsolete functions to new name

This commit is contained in:
Sokomine 2019-03-11 23:50:39 +01:00
parent c79e8fe19e
commit ed0db28add

View File

@ -155,7 +155,7 @@ minetest.register_node("locks:door", {
end
local fdir = 0
local placer_pos = placer:getpos()
local placer_pos = placer:get_pos()
if placer_pos then
dir = {
x = above.x - placer_pos.x,