Replace getpos() with get_pos()
This commit is contained in:
parent
1f1361d179
commit
e789801662
58 changed files with 105 additions and 105 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue