diff --git a/src/Controllers/Common/ContentController.cs b/src/Controllers/Common/ContentController.cs index 41c5499..3da1a43 100644 --- a/src/Controllers/Common/ContentController.cs +++ b/src/Controllers/Common/ContentController.cs @@ -963,7 +963,13 @@ public class ContentController : Controller { ItemData blueprintItem; try { - blueprintItem = itemService.GetItem(req.BluePrintItemID ?? -1); + if (req.BluePrintInventoryID != null) { + blueprintItem = itemService.GetItem( + viking.Inventory.InventoryItems.FirstOrDefault(e => e.Id == req.BluePrintInventoryID).ItemId + ); + } else { + blueprintItem = itemService.GetItem(req.BluePrintItemID ?? -1); + } } catch(System.Collections.Generic.KeyNotFoundException) { return Ok(new FuseItemsResponse { Status = Status.BluePrintItemNotFound }); }