From d308e0d73ebc4ebc8ffb8b3c9ab0281af55813de Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Sun, 13 Dec 2020 17:06:58 +0000 Subject: [PATCH] change set_look_yaw to set_look_horizontal --- init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 8ea061b..fc36432 100644 --- a/init.lua +++ b/init.lua @@ -111,6 +111,7 @@ minetest.register_node("teleport_potion:portal", { waving = 1, sunlight_propagates = true, damage_per_second = 1, -- walking into portal hurts player + groups = {not_in_creative_inventory = 1}, -- start timer when portal appears on_construct = function(pos) @@ -506,7 +507,7 @@ minetest.register_abm({ yaw = 1.57 -- east end - objs[n]:set_look_yaw(yaw) + objs[n]:set_look_horizontal(yaw) end end end