mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-29 05:51:05 +01:00
Update inventory when player visuals change
This commit is contained in:
parent
9d184e9897
commit
dc20267b4f
1 changed files with 2 additions and 0 deletions
|
@ -140,3 +140,5 @@ end
|
||||||
mcl_gamemode.register_on_gamemode_change(function(player, old_gamemode, new_gamemode)
|
mcl_gamemode.register_on_gamemode_change(function(player, old_gamemode, new_gamemode)
|
||||||
set_inventory(player)
|
set_inventory(player)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
mcl_player.register_on_visual_change(mcl_inventory.update_inventory_formspec)
|
||||||
|
|
Loading…
Reference in a new issue