I get the following error
13:53 [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'MyMiniCopter v0.2.6' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.MyMiniCopter.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitInfo) [0x00044] in <d3decda29738404d92b47d35a8c26063>:0
at Oxide.Plugins.MyMiniCopter.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00214] in <d3decda29738404d92b47d35a8c26063>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0