jpw1991 / chebs-necromancy

Cheb's Necromancy adds Necromancy to Valheim via craftable wands and structures. Minions will follow you, guard your base, and perform menial tasks.
The Unlicense
10 stars 4 forks source link

Refueling Pylon Error #195

Closed Vando99 closed 1 year ago

Vando99 commented 1 year ago

Describe the bug

When adding materials for it to use after it does it's initial input of the item it throws an error.

[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object Stack trace: ChebsNecromancy.Structures.RefuelerPylon.ManageFireplace (Fireplace fireplace) (at :0) System.Collections.Generic.List1[T].ForEach (System.Action1[T] action) (at <695d1cc93cca45069c528c15c9fdd749>:0) ChebsNecromancy.Structures.RefuelerPylon+d__15.MoveNext () (at :0) UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <80fe1a4e36fe44618284312cb721a597>:0)

jpw1991 commented 1 year ago

Hello,

What kind of items are you putting in there and what type of fireplaces do you have?

Vando99 commented 1 year ago

Figured it out. Turns out the BoneAppetit mod was having a hearth issue that was causing the refueling pylons to act that way. The pylons I was having problems with, where I noticed the error, was the ones trying to add coal and iron to my smelters. They didn't have wood in them so I didn't think much about it being a problem with a fireplace but makes since now I guess. But after they did an update tonight it seems to be working fine now. Thanks for the reply! Your mod is so handy and makes the upkeep a lot more easier. Thank you!

jpw1991 commented 1 year ago

Glad you figured it out, well done. Thanks for the praise and happy gaming :)