Skip to content

Commit

Permalink
fix map items not rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
lodicolo committed Feb 27, 2025
1 parent f5fe511 commit 87af1a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Intersect.Client.Core/Maps/MapInstance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ public void DrawItemsAndLights()
for (var index = itemInstancesOnTile.Count - 1; index >= 0; index--)
{
var mapItemInstance = itemInstancesOnTile[index];
if (ItemDescriptor.TryGet(mapItemInstance.ItemId, out var itemDescriptor))
if (!ItemDescriptor.TryGet(mapItemInstance.ItemId, out var itemDescriptor))
{
continue;
}
Expand Down

0 comments on commit 87af1a2

Please sign in to comment.