mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-25 10:52:25 +01:00
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
Block a user