Improved null check against mongoId

This commit is contained in:
Chomp
2025-07-23 08:45:39 +01:00
parent 2d752457b2
commit 9ccda652fc
@@ -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;