mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix player_animator
This commit is contained in:
parent
43f0cbe3fe
commit
b59752bc84
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ local function refresh_model(id)
|
|||
end
|
||||
|
||||
function on_render()
|
||||
local invid, slotid = player.get_inventory()
|
||||
local invid, slotid = player.get_inventory(hud.get_player())
|
||||
local id, _ = inventory.get(invid, slotid)
|
||||
if id ~= itemid then
|
||||
refresh_model(id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue