Fix broken compass and clocks
This commit is contained in:
parent
6cd6a525d8
commit
0ff6cb2837
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ minetest.register_globalstep(function(dtime)
|
|||
local _, dim = mcl_util.y_to_layer(pos.y)
|
||||
local compass_image
|
||||
-- Compasses do not work in certain zones
|
||||
if not mcl_util.compass_works(player:getpos()) then
|
||||
if not mcl_util.compass_works(pos) then
|
||||
compass_image = random_frame
|
||||
else
|
||||
local spawn = {x=0,y=0,z=0}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue