1
0
Fork 0

Update inventory when player visuals change

This commit is contained in:
AFCMS 2023-07-14 00:05:01 +02:00
parent 9d184e9897
commit dc20267b4f
Signed by untrusted user: AFCMS
GPG Key ID: 8720389A25B652E3
1 changed files with 2 additions and 0 deletions

View File

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