Fix "See Crafting Plan" for multiblocks
This commit is contained in:
@@ -79,7 +79,10 @@ module.exports = class ModPack extends BaseModel
|
||||
result.modVersion = @_mods[0].activeVersion
|
||||
|
||||
craftingUrlInventory = new Inventory modPack:this
|
||||
craftingUrlInventory.add itemSlug
|
||||
if item?.multiblock?
|
||||
craftingUrlInventory.addInventory item.multiblock.inventory
|
||||
else
|
||||
craftingUrlInventory.add itemSlug
|
||||
|
||||
result.craftingUrl = Url.crafting inventoryText:craftingUrlInventory.unparse()
|
||||
result.iconUrl = Url.itemIcon result
|
||||
|
||||
@@ -18,9 +18,7 @@ All rights reserved.
|
||||
}
|
||||
|
||||
.mainBody {
|
||||
|
||||
.recipes {
|
||||
|
||||
.view__full_recipe {
|
||||
width: 100%;
|
||||
margin-top: 3em;
|
||||
|
||||
Reference in New Issue
Block a user