Update log

This commit is contained in:
Archangel
2025-12-19 13:36:06 +01:00
parent 4c660b02d5
commit 1e323f8c24
@@ -41,13 +41,11 @@ public class ItemBaseClassService(
public void AddItemToCache(MongoId itemTpl)
{
logger.Debug($"Adding {itemTpl} to cache");
var itemDb = databaseService.GetItems();
if (!itemDb.TryGetValue(itemTpl, out var item))
{
logger.Debug($"Could not add {itemTpl} to cache, it does not exist in the item database!");
logger.Error($"Could not add {itemTpl} to cache, it does not exist in the item database!");
return;
}