diff --git a/Libraries/Core/Services/MatchBotDetailsCacheService.cs b/Libraries/Core/Services/MatchBotDetailsCacheService.cs index 7157bc0d..7dff51ab 100644 --- a/Libraries/Core/Services/MatchBotDetailsCacheService.cs +++ b/Libraries/Core/Services/MatchBotDetailsCacheService.cs @@ -1,3 +1,4 @@ +using System.Collections.Concurrent; using SptCommon.Annotations; using Core.Models.Eft.Common.Tables; using Core.Models.Utils; @@ -10,7 +11,7 @@ public class MatchBotDetailsCacheService( LocalisationService _localisationService ) { - protected Dictionary _botDetailsCache = new(); + protected ConcurrentDictionary _botDetailsCache = new(); public void CacheBot(BotBase botToCache) {