summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
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 = {