From 9ccda652fc6f6c41c5872da31d8015813fe49468 Mon Sep 17 00:00:00 2001 From: Chomp Date: Wed, 23 Jul 2025 08:45:39 +0100 Subject: [PATCH] Improved null check against mongoId --- Libraries/SPTarkov.Server.Core/Services/FenceService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/SPTarkov.Server.Core/Services/FenceService.cs b/Libraries/SPTarkov.Server.Core/Services/FenceService.cs index 713179e4..88031874 100644 --- a/Libraries/SPTarkov.Server.Core/Services/FenceService.cs +++ b/Libraries/SPTarkov.Server.Core/Services/FenceService.cs @@ -1291,7 +1291,7 @@ public class FenceService( traderConfig.Fence.ArmorMaxDurabilityPercentMinMax ); var plateTpl = requiredSlot.Props.Filters[0].Plate ?? string.Empty; // "Plate" property appears to be the 'default' item for slot - if (plateTpl == "") + if (plateTpl.IsEmpty()) // Some bsg plate properties are empty, skip mod { continue;