Update inventory when player visuals change

This commit is contained in:
AFCMS 2023-07-14 00:05:01 +02:00
parent 9d184e9897
commit dc20267b4f
No known key found for this signature in database
GPG key ID: 8720389A25B652E3

View file

@ -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)