RimWorld

RimWorld

Simple sidearms
Benlexlin 23 Aug, 2023 @ 11:57pm
I am not sure what is happening but some decision logic is not happy with the mod.
The following is the error message that points back to this mod. I am not sure what is happening but this only happened after a few days of IRL playtime. Please help.

Exception in RimWorld.ThinkNode_ConditionalColonist TryIssueJobPackage: System.NullReferenceException: Object reference not set to an instance of an object
at PeteTimesSix.SimpleSidearms.Intercepts.JobGiver_DropUnusedInventory_Drop.Prefix (Verse.Pawn pawn, Verse.Thing thing) [0x0003e] in <cba93d2352b64fb5b5723b6fd707b203>:0
at (wrapper dynamic-method) RimWorld.JobGiver_DropUnusedInventory.RimWorld.JobGiver_DropUnusedInventory.Drop_Patch2(RimWorld.JobGiver_DropUnusedInventory,Verse.Pawn,Verse.Thing)
at (wrapper dynamic-method) RimWorld.JobGiver_DropUnusedInventory.RimWorld.JobGiver_DropUnusedInventory.TryGiveJob_Patch1(RimWorld.JobGiver_DropUnusedInventory,Verse.Pawn)
at Verse.AI.ThinkNode_JobGiver.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00000] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.AI.ThinkNode_Priority.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00022] in <95de19971c5d40878d8742747904cdcd>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Conditional:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.Pawn_JobTracker:DetermineNextJob (Verse.ThinkTreeDef&)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob ()
(wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.EndCurrentJob_Patch2 (Verse.AI.Pawn_JobTracker,Verse.AI.JobCondition,bool,bool)
Verse.AI.Pawn_JobTracker:JobTrackerTick ()
Verse.Pawn:Tick ()
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
(wrapper dynamic-method) Verse.Root_Play:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)

Thank you in advance