Getting NRE on player suicides and randomlyFixed
Failed to call hook 'OnEntityTakeDamage' on plugin 'HelicopterProtection v1.0.1' (NullReferenceException: Object reference not set to an instance of an object)

  at Oxide.Plugins.HelicopterProtection.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo info) [0x00032] in <7201574b0795412e8c005e19fe4fa1a6>:0 

  at Oxide.Plugins.HelicopterProtection.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000e4] in <7201574b0795412e8c005e19fe4fa1a6>: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 <0fbce81d88d64454b3e7abb24df7026b>:0 

  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <0fbce81d88d64454b3e7abb24df7026b>:0  

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Sorry for the late reply, I've updated the plug-in with a fix. let me know if it works.

Locked automatically