Calling hook OnEntityTakeDamage resulted in a conflictFixed
Calling hook OnEntityTakeDamage resulted in a conflict between the following plugins: TruePVE - True (Boolean), ElectricTaser (False (Boolean))

and one more error:

(17:00:25) | Failed to call hook 'CanMoveItem' on plugin 'ElectricTaser v2.0.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.ElectricTaser.CanMoveItem (Item anItem, PlayerInventory aPlayerLoot, System.UInt32 aTargetContainer, System.Int32 aTargetSlot, System.Int32 anAmount) [0x00006] in <54534e1737cf4f3d99a433a1c2783e16>:0 
  at Oxide.Plugins.ElectricTaser.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x004c7] in <54534e1737cf4f3d99a433a1c2783e16>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0

Hi there,
can you tell me exactly what you or the person who caused it did, when the error occured?

Best regards
ZockiRR

Returning true is recommended for OnEntityTakeDamage, given the number of plugins that already return true to block damage via that hook. It is essentially considered the standard.

I get this NRE just randomly in the console, no player is using the taser or moving it or doing anything

Usually with NREs, developers just add more null checks, since it's sometimes hard to make reliable assumptions about the state of the arguments passed into the hook, especially when other plugins are involved. In this case, maybe the root container is null. Not sure when that would be, but there are several ways to move items, such as when splitting a stack (perhaps the generated item doesn't have a container).

Okay, well not exactly what I wanted to hear, but okay. Thank you for the info and thank you WhiteThunder for the support!
I will address this in the coming days!

Merged post

Hi there,
I pushed a small update (v2.0.1) which should fix the issues. Let me know if it doesn't!

Best regards
ZockiRR

Locked automatically