From 66b57400405fab8302a9a18037374da3f635dcf1 Mon Sep 17 00:00:00 2001 From: cheapie Date: Sat, 14 Sep 2024 17:37:59 -0500 Subject: Fix deprecated function call --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 2255b4d..188e34d 100644 --- a/init.lua +++ b/init.lua @@ -671,7 +671,7 @@ local function updateDisplay(pos) end entity:set_properties({textures={etex}}) entity:set_yaw((fdir.x ~= 0) and math.pi/2 or 0) - entity:setpos(vector.add(pos,vector.multiply(fdir,0.45))) + entity:set_pos(vector.add(pos,vector.multiply(fdir,0.45))) end local pi_ignore = { -- cgit v1.2.3