Replace deprecated functions
This commit is contained in:
parent
b31a717410
commit
2f74aea6f5
29 changed files with 159 additions and 159 deletions
|
@ -77,7 +77,7 @@ local update_item_entity = function(pos, node)
|
|||
lua:_update_texture()
|
||||
if node.name == "mcl_itemframes:item_frame" then
|
||||
local yaw = math.pi*2 - node.param2 * math.pi/2
|
||||
e:setyaw(yaw)
|
||||
e:set_yaw(yaw)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue