Fix reflection for GameVersions

This commit is contained in:
CWX
2025-01-10 22:33:46 +00:00
parent b9316fee63
commit 7bb98b6991
3 changed files with 6 additions and 4 deletions
+2
View File
@@ -1,9 +1,11 @@
using System.Text.Json.Serialization;
using Core.Annotations;
using Core.Models.Eft.Common;
using Core.Models.Eft.Common.Tables;
namespace Core.Helpers;
[Injectable]
public class ItemHelper
{
/**
+3 -3
View File
@@ -34,8 +34,8 @@ public class ProfileHelper
ItemHelper itemHelper,
TimeUtil timeUtil,
LocalisationService localisationService,
InventoryConfig inventoryConfig,
HashUtil hashUtil
HashUtil hashUtil,
ConfigServer configServer
)
{
_cloner = cloner;
@@ -45,8 +45,8 @@ public class ProfileHelper
_itemHelper = itemHelper;
_timeUtil = timeUtil;
_localisationService = localisationService;
_inventoryConfig = inventoryConfig;
_hashUtil = hashUtil;
_inventoryConfig = configServer.GetConfig<InventoryConfig>(ConfigTypes.INVENTORY);
}
/// <summary>