RimWorld

RimWorld

Medieval Overhaul
Emrys 22. sep. 2024 kl. 0:25
Duplicate fuel tab fix NullReferenceException
Hi,
Since the update to fix the duplicate tab i can no longer refuel anything - this could be related to another mod now (stack trace mentions VFECore)

https://gist.github.com/HugsLibRecordKeeper/3881f6eeeae34312467ddd2bdf004ed7

Error trying to make float menu for Dancing Ant: System.NullReferenceException: Object reference not set to an instance of an object [Ref 18E91E9D] at MedievalOverhaul.Utility.FindBestFuel (Verse.Pawn pawn, Verse.Thing refuelable) [0x00015] in <152607658c2c4697886ab2a6ea3b59f9>:0 at MedievalOverhaul.WorkGiver_RefuelCustom.CanRefuel (Verse.Pawn pawn, Verse.Thing t, System.Boolean forced) [0x0010b] in <152607658c2c4697886ab2a6ea3b59f9>:0 at MedievalOverhaul.WorkGiver_RefuelCustom.HasJobOnThing (Verse.Pawn pawn, Verse.Thing t, System.Boolean forced) [0x0000a] in <152607658c2c4697886ab2a6ea3b59f9>:0 at RimWorld.FloatMenuMakerMap.AddJobGiverWorkOrders (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Collections.Generic.List`1[T] opts, System.Boolean drafted) [0x0019e] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0 - PREFIX OskarPotocki.VFECore: Boolean AnimalBehaviours.VanillaExpandedFramework_FloatMenuMakerMap_AddJobGiverWorkOrders_Patch:SkipIfAnimal(Pawn pawn) at RimWorld.FloatMenuMakerMap.AddUndraftedOrders (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Collections.Generic.List`1[T] opts) [0x00024] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0 at RimWorld.FloatMenuMakerMap.ChoicesAtFor (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Boolean suppressAutoTakeableGoto) [0x00126] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0 - POSTFIX OskarPotocki.VFECore: Void VFE.Mechanoids.HarmonyPatches.FloatMenuMakerMap_ChoicesAtFor_Patch:Postfix(List`1& __result, Vector3 clickPos, Pawn pawn, Boolean suppressAutoTakeableGoto) at RimWorld.FloatMenuMakerMap.TryMakeFloatMenu (Verse.Pawn pawn) [0x000da] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string) RimWorld.FloatMenuMakerMap:TryMakeFloatMenu (Verse.Pawn) RimWorld.Selector:HandleMapClicks () RimWorld.Selector:SelectorOnGUI () RimWorld.MapInterface:HandleLowPriorityInput () RimWorld.UIRoot_Play:UIRootOnGUI () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.OnGUI_Patch1 (Verse.Root)
< >
Viser 1-1 af 1 kommentarer
< >
Viser 1-1 af 1 kommentarer
Per side: 1530 50