From 7733d2df96f33869ec1cb34f3b68ba01072b3107 Mon Sep 17 00:00:00 2001 From: R3ality Date: Sun, 27 Jul 2025 13:15:37 +0300 Subject: [PATCH] Fix typo in locationMultipler --- Libraries/SPTarkov.Server.Assets/SPT_Data/configs/pmc.json | 6 +++--- .../Extensions/LootContainerSettingsExtensions.cs | 4 ++-- .../SPTarkov.Server.Core/Models/Spt/Config/PmcConfig.cs | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Libraries/SPTarkov.Server.Assets/SPT_Data/configs/pmc.json b/Libraries/SPTarkov.Server.Assets/SPT_Data/configs/pmc.json index ef456c23..d9731cf3 100644 --- a/Libraries/SPTarkov.Server.Assets/SPT_Data/configs/pmc.json +++ b/Libraries/SPTarkov.Server.Assets/SPT_Data/configs/pmc.json @@ -276,7 +276,7 @@ "value": 50000 } ], - "locationMultipler": { + "locationMultiplier": { "default": 1, "laboratory": 2, "labyrinth": 4 @@ -290,7 +290,7 @@ "value": 50000 } ], - "locationMultipler": { + "locationMultiplier": { "default": 1, "laboratory": 2, "labyrinth": 4 @@ -324,7 +324,7 @@ "value": 2500000 } ], - "locationMultipler": { + "locationMultiplier": { "default": 1, "laboratory": 2, "labyrinth": 4 diff --git a/Libraries/SPTarkov.Server.Core/Extensions/LootContainerSettingsExtensions.cs b/Libraries/SPTarkov.Server.Core/Extensions/LootContainerSettingsExtensions.cs index 4b5c9693..81df05f3 100644 --- a/Libraries/SPTarkov.Server.Core/Extensions/LootContainerSettingsExtensions.cs +++ b/Libraries/SPTarkov.Server.Core/Extensions/LootContainerSettingsExtensions.cs @@ -24,9 +24,9 @@ namespace SPTarkov.Server.Core.Extensions } // Get multiplier for map, use default if map not found - if (!settings.LocationMultipler.TryGetValue(locationId, out var multiplier)) + if (!settings.LocationMultiplier.TryGetValue(locationId, out var multiplier)) { - if (!settings.LocationMultipler.TryGetValue("default", out multiplier)) + if (!settings.LocationMultiplier.TryGetValue("default", out multiplier)) { return roubleTotalByLevel; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/PmcConfig.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/PmcConfig.cs index 934c7407..1a523ccb 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/PmcConfig.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/PmcConfig.cs @@ -172,8 +172,8 @@ public record LootContainerSettings [JsonPropertyName("totalRubByLevel")] public List TotalRubByLevel { get; set; } - [JsonPropertyName("locationMultipler")] - public Dictionary LocationMultipler { get; set; } + [JsonPropertyName("locationMultiplier")] + public Dictionary LocationMultiplier { get; set; } } public record HostilitySettings