From aca54ad250047b0d6116eca2535b95083399ab76 Mon Sep 17 00:00:00 2001 From: zerratar Date: Wed, 2 Aug 2023 15:40:00 +0200 Subject: [PATCH] didnt seem to work well for items with null "modified" --- src/RavenNest.BusinessLogic/Game/Managers/ItemManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RavenNest.BusinessLogic/Game/Managers/ItemManager.cs b/src/RavenNest.BusinessLogic/Game/Managers/ItemManager.cs index b4179a36..57680276 100644 --- a/src/RavenNest.BusinessLogic/Game/Managers/ItemManager.cs +++ b/src/RavenNest.BusinessLogic/Game/Managers/ItemManager.cs @@ -44,7 +44,7 @@ public ItemCollection GetAllItems(DateTime timestamp) var collection = new ItemCollection(); foreach (var item in items) { - if (item.Hidden || item.Modified < timestamp) + if (item.Hidden || item.Modified.GetValueOrDefault() < timestamp) { continue; }