Fix view profile not showing correctly

This commit is contained in:
Dev 2024-01-10 13:53:26 +00:00
parent 9a4231d8b8
commit c918875a38

View File

@ -422,7 +422,7 @@ export class ProfileController
Items: playerPmc.Inventory.items Items: playerPmc.Inventory.items
}, },
achievements: playerPmc.Achievements, achievements: playerPmc.Achievements,
favoriteItems: playerPmc.Inventory.favoriteItems, favoriteItems: playerPmc.Inventory.favoriteItems ?? [],
pmcStats: { pmcStats: {
eft: { eft: {
totalInGameTime: playerPmc.Stats.Eft.TotalInGameTime, totalInGameTime: playerPmc.Stats.Eft.TotalInGameTime,