Saving inventory in multiplayer not working

Making the UpdateInventory function works the item display issue. Now the issue is that when the items are saved happens something… weird
(The first player had 2 items and the second 3)
Captura de pantalla 2024-03-17 161007