diff --git a/init.lua b/init.lua index f7c5e5c..ef1c1a1 100644 --- a/init.lua +++ b/init.lua @@ -132,7 +132,7 @@ local get_ambience = function(player) -- who and where am I? --local player_name = player:get_player_name() - local pos = player:getpos() + local pos = player:get_pos() -- what is around me? pos.y = pos.y + 1.4 -- head level