Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop

This commit is contained in:
Chomp
2025-02-10 21:12:33 +00:00
@@ -140,6 +140,11 @@ public class CustomItemService(
*/
protected void UpdateBaseItemPropertiesWithOverrides(Props? overrideProperties, TemplateItem itemClone)
{
if (overrideProperties is null)
{
return;
}
foreach (var propKey in overrideProperties.GetAllPropsAsDict())
{
itemClone.Properties.GetAllPropsAsDict()[propKey.Key] = overrideProperties.GetAllPropsAsDict()[propKey.Key];
@@ -186,7 +191,7 @@ public class CustomItemService(
* e.g.
* en[0]
* fr[1]
*
*
* No jp provided, so english will be used as a substitute
* @param localeDetails key is language, value are the new locale details
* @param newItemId id of the item being created