Replace getpos() with get_pos()
This commit is contained in:
parent
1f1361d179
commit
e789801662
58 changed files with 105 additions and 105 deletions
|
@ -96,7 +96,7 @@ minetest.register_globalstep(function(dtime)
|
|||
local dim = mcl_worlds.pos_to_dimension(player:get_pos())
|
||||
local frame
|
||||
-- Clocks do not work in certain zones
|
||||
if not mcl_worlds.clock_works(player:getpos()) then
|
||||
if not mcl_worlds.clock_works(player:get_pos()) then
|
||||
frame = random_frame
|
||||
else
|
||||
frame = now
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue