diff --git a/Libraries/SPTarkov.Server.Core/Services/Mod/ProfileDataService.cs b/Libraries/SPTarkov.Server.Core/Services/Mod/ProfileDataService.cs index 701d7d21..61902fad 100644 --- a/Libraries/SPTarkov.Server.Core/Services/Mod/ProfileDataService.cs +++ b/Libraries/SPTarkov.Server.Core/Services/Mod/ProfileDataService.cs @@ -48,7 +48,7 @@ public class ProfileDataService(ISptLogger logger, FileUtil throw new Exception("The profile data when serialized resulted in a null value"); } - while (!_profileDataCache.TryAdd($"{profileId}:{modKey}", data)) { } + while (!_profileDataCache.TryAdd($"{profileId}:{modKey}", profileData)) { } fileUtil.WriteFile($"{ProfileDataFilepath}{profileId}/{modKey}.json", data); }