diff --git a/project/src/controllers/ProfileController.ts b/project/src/controllers/ProfileController.ts index 6243c2c1..19440aac 100644 --- a/project/src/controllers/ProfileController.ts +++ b/project/src/controllers/ProfileController.ts @@ -422,7 +422,7 @@ export class ProfileController Items: playerPmc.Inventory.items }, achievements: playerPmc.Achievements, - favoriteItems: playerPmc.Inventory.favoriteItems, + favoriteItems: playerPmc.Inventory.favoriteItems ?? [], pmcStats: { eft: { totalInGameTime: playerPmc.Stats.Eft.TotalInGameTime,