feat: complete item 'model-name' support

This commit is contained in:
MihailRis
2024-10-30 12:58:07 +03:00
parent 7c933f89c6
commit 9c3d4af907
3 changed files with 3 additions and 3 deletions
@@ -7,7 +7,7 @@ local itemIndex = rig:index("item")
local function refresh_model(id)
itemid = id
rig:set_model(itemIndex, item.name(itemid)..".model")
rig:set_model(itemIndex, item.get_model_name(itemid))
rig:set_matrix(itemIndex, mat4.rotate({0, 1, 0}, -80))
end