forked from VoxeLibre/VoxeLibre
Update inventory when player visuals change
This commit is contained in:
parent
9d184e9897
commit
dc20267b4f
|
@ -140,3 +140,5 @@ end
|
|||
mcl_gamemode.register_on_gamemode_change(function(player, old_gamemode, new_gamemode)
|
||||
set_inventory(player)
|
||||
end)
|
||||
|
||||
mcl_player.register_on_visual_change(mcl_inventory.update_inventory_formspec)
|
||||
|
|
Loading…
Reference in New Issue