System.NullReferenceException: Object reference not set to an instance of an object at Oxide.Plugins.BetterScarecrows+ThrowGrenadeState.StateLeave (BaseAIBrain brain, BaseEntity entity) [0x00024] in <2e3203d3396e4a9ab4ca1e16a1835826>:0 at BaseAIBrain.SwitchToState (BaseAIBrain+BasicAIState newState, System.Int32 stateContainerID) [0x00044] in <c15fd7e5c4df454aa454348e7b772005>:0 at BaseAIBrain.SwitchToState (AIState newState, System.Int32 stateContainerID) [0x0001b] in <c15fd7e5c4df454aa454348e7b772005>:0 at BaseAIBrain.EventTriggeredStateChange (System.Int32 newStateContainerID, System.Int32 sourceEventID) [0x00029] in <c15fd7e5c4df454aa454348e7b772005>:0 at BaseAIEvent.TriggerStateChange (IAIEventListener listener, System.Int32 sourceEventID) [0x00007] in <c15fd7e5c4df454aa454348e7b772005>:0 at AIEvents.Tick (System.Single deltaTime, StateStatus stateStatus) [0x0014f] in <c15fd7e5c4df454aa454348e7b772005>:0 at BaseAIBrain.Think (System.Single delta) [0x00085] in <c15fd7e5c4df454aa454348e7b772005>:0 at BaseAIBrain.DoThink () [0x0000d] in <c15fd7e5c4df454aa454348e7b772005>:0 at ScarecrowNPC.ServerThink (System.Single delta) [0x0001a] in <c15fd7e5c4df454aa454348e7b772005>:0 at NPCPlayer.ServerThink_Internal () [0x0000d] in <c15fd7e5c4df454aa454348e7b772005>:0 at ScarecrowNPC.TryThink () [0x00000] in <c15fd7e5c4df454aa454348e7b772005>:0 at AIThinkManager.DoProcessing (ListHashSet`1[T] process, System.Single budgetSeconds, System.Int32& last) [0x00014] in <c15fd7e5c4df454aa454348e7b772005>:0
NullReferenceException: Object reference not set to an instance of an object