forked from nalc/homedecor_modpack
fix depreciated setyaw call https://github.com/mt-mods/homedecor_modpack/issues/7
This commit is contained in:
parent
f1dc68ab21
commit
f6f6f3a3c3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user