From 677c4311ab95a63e3c9d65fb8ff243eed32a41a2 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Mon, 9 Oct 2017 15:07:02 +0100 Subject: [PATCH] getpos() to get_pos() --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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