diff --git a/NineChronicles.Headless/GraphTypes/States/Models/Item/InventoryItemType.cs b/NineChronicles.Headless/GraphTypes/States/Models/Item/InventoryItemType.cs index feacb00b0..037d313de 100644 --- a/NineChronicles.Headless/GraphTypes/States/Models/Item/InventoryItemType.cs +++ b/NineChronicles.Headless/GraphTypes/States/Models/Item/InventoryItemType.cs @@ -43,6 +43,17 @@ public InventoryItemType() return tradableItem.TradableId; } + return null; + }); + Field( + "fungibleItemId", + resolve: context => + { + if (context.Source.item is IFungibleItem fungibleItem) + { + return fungibleItem.FungibleId.ToString(); + } + return null; }); }