From 85b53c5fa9436fad138b9d491133f066351c0218 Mon Sep 17 00:00:00 2001 From: Chomp Date: Mon, 13 Jan 2025 10:43:20 +0000 Subject: [PATCH] Resolved injection issue --- Core/Helpers/TraderHelper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/Helpers/TraderHelper.cs b/Core/Helpers/TraderHelper.cs index f8685bef..990f6787 100644 --- a/Core/Helpers/TraderHelper.cs +++ b/Core/Helpers/TraderHelper.cs @@ -28,14 +28,14 @@ public class TraderHelper TimeUtil timeUtil, RandomUtil randomUtil, LocalisationService localisationService, - ConfigServer configServer, Dictionary? highestTraderPriceItems) + ConfigServer configServer) { _logger = logger; _timeUtil = timeUtil; _randomUtil = randomUtil; _localisationService = localisationService; _configServer = configServer; - _highestTraderPriceItems = highestTraderPriceItems; + _highestTraderPriceItems = new Dictionary(); _traderConfig = _configServer.GetConfig(ConfigTypes.TRADER); }