NullReferenceException at OnEntityTakeDamageFixed

having this error being spammed in rcon

(23:50:19) | Failed to call hook 'OnEntityTakeDamage' on plugin 'PvpToggle v1.0.2' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.PvpToggle.OnEntityTakeDamage (BasePlayer player, HitInfo hitInfo) [0x00006] in <69668f1356794302af4d631efbf76af1>:0
at Oxide.Plugins.PvpToggle.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000c3] in <69668f1356794302af4d631efbf76af1>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <80b90e8213db44b29ec2d4111764172c>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ec05e0208c9149bba43236ca58fea105>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ec05e0208c9149bba43236ca58fea105>:0

Thanks for this, should be fixed.

no it still doing it and there is more spam

Locked automatically