Use string.empty and MongoId.Empty() where appropriate

This commit is contained in:
Chomp
2025-08-17 21:35:34 +01:00
parent 8b0445375b
commit 8573e6ae02
21 changed files with 35 additions and 35 deletions
@@ -324,7 +324,7 @@ public class BotController(
/// <returns>MinMax values</returns>
protected MinMax<int>? GetPmcLevelRangeForMap(string? location)
{
return pmcConfig.LocationSpecificPmcLevelOverride!.GetValueOrDefault(location?.ToLowerInvariant() ?? "", null);
return pmcConfig.LocationSpecificPmcLevelOverride!.GetValueOrDefault(location?.ToLowerInvariant() ?? string.Empty, null);
}
/// <summary>