NullReferenceException at OnEntityTakeDamageFixed
 Failed to call hook 'OnEntityTakeDamage' on plugin 'SleeperAnimalProtection v1.0.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.SleeperAnimalProtection.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo info) [0x000a5] in <28286778a4ab4f46820dde1620a22718>:0 
  at Oxide.Plugins.SleeperAnimalProtection.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00196] in <28286778a4ab4f46820dde1620a22718>: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
Failed to call hook 'OnEntityTakeDamage' on plugin 'SleeperAnimalProtection v1.0.1' (NullReferenceException: Object reference not set to an instance of an object)
 at Oxide.Plugins.SleeperAnimalProtection.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo info) [0x000a5] in <28286778a4ab4f46820dde1620a22718>:0
 at Oxide.Plugins.SleeperAnimalProtection.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00196] in <28286778a4ab4f46820dde1620a22718>: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

Experiencing this issue as well

Wondering if they are going to fix this mod or let it die

Dropped an error after junes update

[Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'SleeperAnimalProtection v1.0.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.SleeperAnimalProtection.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo info) [0x000a5] in <a4a1594970ff4ec696f8d4a14705b9a3>:0

at Oxide.Plugins.SleeperAnimalProtection.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00196] in <a4a1594970ff4ec696f8d4a14705b9a3>: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

Same here :)

It's a shame. I'll have to remove this from my server. Is there another plugin that does the same?

I'm getting the same error.  Any news for an update or is this plugin dead?

It's dead jim. I am removing from my server.

Added some null checks, should resolve the issue.

installed the update will let you know in a day or so if its resolved many thanks wulf

Appreciate it Wulf

VGOFhSsrh05vnzh.jpg Wulf

Added some null checks, should resolve the issue.

Still getting the error.

04:57 [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'SleeperAnimalProtection v1.0.2'

I downloaded the update and am still seeing this error:

 

Failed to call hook 'OnEntityTakeDamage' on plugin 'SleeperAnimalProtection v1.0.2' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.SleeperAnimalProtection.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo info) [0x000a3] in :0
at Oxide.Plugins.SleeperAnimalProtection.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00132] in :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 :0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

same(newest version)

Locked automatically