mirror of
https://codeberg.org/tenplus1/ambience.git
synced 2025-01-11 10:30:17 +01:00
getpos() to get_pos()
This commit is contained in:
parent
f5460312e9
commit
677c4311ab
2
init.lua
2
init.lua
@ -132,7 +132,7 @@ local get_ambience = function(player)
|
|||||||
|
|
||||||
-- who and where am I?
|
-- who and where am I?
|
||||||
--local player_name = player:get_player_name()
|
--local player_name = player:get_player_name()
|
||||||
local pos = player:getpos()
|
local pos = player:get_pos()
|
||||||
|
|
||||||
-- what is around me?
|
-- what is around me?
|
||||||
pos.y = pos.y + 1.4 -- head level
|
pos.y = pos.y + 1.4 -- head level
|
||||||
|
Loading…
Reference in New Issue
Block a user