Fix weird probably toc/tou crash'

This commit is contained in:
Bluzume 2021-11-06 22:40:13 -04:00
parent 1cb158f7b0
commit d837b3d8ea

View file

@ -59,7 +59,7 @@ namespace HISP.Game.Inventory
public InventoryItem[] GetItemList()
{
return inventoryItems.OrderBy(o => o.ItemInstances[0].GetItemInfo().SortBy).ToArray();
return inventoryItems.OrderBy(o => Item.GetItemById(o.ItemId).SortBy).ToArray();
}