Fix reflection for GameVersions
This commit is contained in:
@@ -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
|
||||
{
|
||||
/**
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user