Skip to content

Commit

Permalink
didnt seem to work well for items with null "modified"
Browse files Browse the repository at this point in the history
  • Loading branch information
zerratar committed Aug 2, 2023
1 parent 1631c3b commit aca54ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RavenNest.BusinessLogic/Game/Managers/ItemManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit aca54ad

Please sign in to comment.