-
Notifications
You must be signed in to change notification settings - Fork 13
Infinite materials returned from recycling #76
Description
Mod: Crafting With Containers / Simple Recycling
Seems like there is some kind of interaction with the Terraheim mod that causes infinite materials to be returned from an item:
I went to recycle a "Crude Bow" which should have yeilded 3 wood and 3 leather scraps, but it filled my inventory with stacks of both.
Here is the bepinex log that seems to indicate teh conflict is related to terraheim:
[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object Stack trace: Terraheim.Patches.CraftingPatch.AddItemPostfix (ItemDrop+ItemData& __result) (at <7bbaa1818a6a412e925b79f46edff69c>:0) (wrapper dynamic-method) Inventory.DMDInventory::AddItem(Inventory,string,int,int,int,long,string) ABearCodes.Valheim.SimpleRecycling.Recycling.Recycler.DoInventoryChanges (ABearCodes.Valheim.SimpleRecycling.Recycling.RecyclingAnalysisContext analysisContext, Inventory inventory, Player player) (at :0) ABearCodes.Valheim.SimpleRecycling.UI.StationRecyclingTabHolder.UpdateRecipe (Player player, System.Single dt) (at :0) ABearCodes.Valheim.SimpleRecycling.UI.InventoryGuiPatches.UpdateRecipeOnRecyclingTab (InventoryGui __instance, Player player, System.Single dt) (at :0) (wrapper dynamic-method) InventoryGui.DMDInventoryGui::UpdateRecipe(InventoryGui,Player,single) InventoryGui.Update () (at <843a49d5cb48439fa5a62a7bcd81c2a9>:0)