eideehi / valheim-automatics

[Valheim] Mods that automate a variety of tasks
https://www.nexusmods.com/valheim/mods/1700
MIT License
8 stars 4 forks source link

Any idea? #19

Closed spazfishy closed 2 years ago

spazfishy commented 2 years ago

[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object Stack trace: ExtendedPlayerInventory.BepInExPlugin+HaveEmptySlot_Patch.Prefix (Inventory instance, System.Boolean& result, System.Collections.Generic.List`1[T] _m_inventory, System.Int32 _mwidth, System.Int32 m_height) (at <4c0568a64cd44a31b6fcb2184a5e5942>:0) (wrapper dynamic-method) Inventory.DMD(Inventory) (wrapper dynamic-method) Inventory.DMD(Inventory,ItemDrop/ItemData,int) Automatics.AutomaticProcessing.AutomaticCraft.Run (Smelter piece, ZNetView zNetView) (at <4194280648e14ef9b5bf68be6409a9a5>:0) Automatics.AutomaticProcessing.Patches.SmelterUpdateSmelterPostfix (Smelter instance, ZNetView ___m_nview) (at <4194280648e14ef9b5bf68be6409a9a5>:0) (wrapper dynamic-method) Smelter.DMD(Smelter)

eideehi commented 2 years ago

When run CanAddItem to see if Automatics can add material to Smelter, it runs the ExtendedPlayerInventory patch, but an error occurs there, so this log is being output. There is nothing that Automatics can do about it, so this Issue is closed.