Replace getpos() with get_pos()

This commit is contained in:
Wuzzy 2019-02-01 06:33:07 +01:00
parent 1f1361d179
commit e789801662
58 changed files with 105 additions and 105 deletions

View file

@ -223,7 +223,7 @@ minetest.register_abm({
if obj:is_player() or lua_entity then
local dim = mcl_worlds.pos_to_dimension(pos)
local objpos = obj:getpos()
local objpos = obj:get_pos()
if objpos == nil then
return
end

View file

@ -415,7 +415,7 @@ minetest.register_abm({
if portal_cooloff[obj] then
return
end
local objpos = obj:getpos()
local objpos = obj:get_pos()
if objpos == nil then
return
end