From 26048524f1e288cff483dda68266456ea4034ef2 Mon Sep 17 00:00:00 2001 From: Chomp Date: Wed, 18 Jun 2025 15:12:05 +0100 Subject: [PATCH] Removed unused imports --- .../Services/BotEquipmentModPoolService.cs | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/Libraries/SPTarkov.Server.Core/Services/BotEquipmentModPoolService.cs b/Libraries/SPTarkov.Server.Core/Services/BotEquipmentModPoolService.cs index d6b4ef10..e11357ce 100644 --- a/Libraries/SPTarkov.Server.Core/Services/BotEquipmentModPoolService.cs +++ b/Libraries/SPTarkov.Server.Core/Services/BotEquipmentModPoolService.cs @@ -3,9 +3,7 @@ using SPTarkov.DI.Annotations; using SPTarkov.Server.Core.Helpers; using SPTarkov.Server.Core.Models.Eft.Common.Tables; using SPTarkov.Server.Core.Models.Enums; -using SPTarkov.Server.Core.Models.Spt.Config; using SPTarkov.Server.Core.Models.Utils; -using SPTarkov.Server.Core.Servers; namespace SPTarkov.Server.Core.Services; @@ -13,9 +11,7 @@ namespace SPTarkov.Server.Core.Services; public class BotEquipmentModPoolService { private readonly Lock _lockObject = new(); - protected bool _armorPoolGenerated; - protected BotConfig _botConfig; - protected ConfigServer _configServer; + protected DatabaseService _databaseService; protected ConcurrentDictionary>> _gearModPool; protected ItemHelper _itemHelper; @@ -24,21 +20,19 @@ public class BotEquipmentModPoolService protected ConcurrentDictionary>> _weaponModPool; protected bool _weaponPoolGenerated; + protected bool _armorPoolGenerated; public BotEquipmentModPoolService( ISptLogger logger, ItemHelper itemHelper, DatabaseService databaseService, - LocalisationService localisationService, - ConfigServer configServer + LocalisationService localisationService ) { _logger = logger; _itemHelper = itemHelper; _databaseService = databaseService; _localisationService = localisationService; - _configServer = configServer; - _botConfig = _configServer.GetConfig(); _weaponModPool = new ConcurrentDictionary>>(); _gearModPool = new ConcurrentDictionary>>();