Issue with convoy, can you fix this please?

Hello,

 
 
reinforced convoy spawned, we killed helicopter and got:
Failed to call hook 'OnEntityDeath' on plugin 'DynamicPVP v4.2.16' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.DynamicPVP.OnEntityDeath (BaseHelicopter baseHelicopter, HitInfo info) [0x00056] in <57887e9f8de24c60923de44a268a9c0e>:0
at Oxide.Plugins.DynamicPVP.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00aa5] in <57887e9f8de24c60923de44a268a9c0e>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0​

Thanks


and if you can add support for ArmoredTrain please:

Failed to call hook 'OnEntityDeath' on plugin 'DynamicPVP v4.2.16' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.DynamicPVP.OnEntityDeath (BradleyAPC bradleyApc, HitInfo info) [0x00056] in <d62436a7cd864c48938dcad155b53301>:0

at Oxide.Plugins.DynamicPVP.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00adb] in <d62436a7cd864c48938dcad155b53301>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0

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

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)


I've try to add on DynamicPVP (OnEntityDeath(BradleyAPC bradleyApc):

            if (plugins.Exists("ArmoredTrain") && (bool)ArmoredTrain.Call("IsTrainBradley", bradleyApc.net.ID))
            {
                Puts("DISABLED IsTrainBradley FOR ArmoredTrain!");
                return;
            }


but seems not working :x

thanks very much