Upgrade spawnpoint missing to a debug message

This commit is contained in:
KaenoDev
2025-02-02 21:00:33 +00:00
parent 56b8e2e0e0
commit ba1726c3ef
@@ -791,9 +791,12 @@ public class LocationLootGenerator(
// Spawn point has no items after filtering, skip
if (spawnPoint.Template.Items is null || spawnPoint.Template.Items.Count == 0)
{
_logger.Warning(
_localisationService.GetText("location-spawnpoint_missing_items", spawnPoint.Template.Id)
);
if (_logger.IsLogEnabled(LogLevel.Debug))
{
_logger.Debug(
_localisationService.GetText("location-spawnpoint_missing_items", spawnPoint.Template.Id)
);
}
continue;
}