summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2020-04-15 15:31:22 -0500
committercheapie <no-email-for-you@example.com>2020-04-15 15:31:22 -0500
commite6d3fbf074e325e2be7108ea02627ca47620c06d (patch)
treeb41e47dcbc6a99b68097b81163a83d13202df4f4
parentd357ceb88852bc50b82cb404efaf4452472ca10b (diff)
downloaddigidisplay-e6d3fbf074e325e2be7108ea02627ca47620c06d.tar
digidisplay-e6d3fbf074e325e2be7108ea02627ca47620c06d.tar.gz
digidisplay-e6d3fbf074e325e2be7108ea02627ca47620c06d.tar.bz2
digidisplay-e6d3fbf074e325e2be7108ea02627ca47620c06d.tar.xz
digidisplay-e6d3fbf074e325e2be7108ea02627ca47620c06d.zip
Fix deprecated API call
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 606842a..41035fc 100644
--- a/init.lua
+++ b/init.lua
@@ -71,7 +71,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.39)))
+ entity:set_pos(vector.add(pos,vector.multiply(fdir,0.39)))
end
minetest.register_entity("digidisplay:text",{