From f6f6f3a3c3e1b546389dea6afeb20c3a9e81d494 Mon Sep 17 00:00:00 2001 From: unknown <24964441+wsor4035@users.noreply.github.com> Date: Sat, 27 Nov 2021 19:56:36 -0500 Subject: [PATCH] fix depreciated setyaw call https://github.com/mt-mods/homedecor_modpack/issues/7 --- itemframes/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itemframes/init.lua b/itemframes/init.lua index 78c1d0cd..cfd77e19 100644 --- a/itemframes/init.lua +++ b/itemframes/init.lua @@ -100,7 +100,7 @@ local update_item = function(pos, node) local e = minetest.add_entity(pos,"itemframes:item") if node.name == "itemframes:frame" then local yaw = math.pi * 2 - node.param2 * math.pi / 2 - e:setyaw(yaw) + e:set_yaw(yaw) end end end