InvalidCastException in OnPlayerAttackFixed
friends plugin was just updated by wulf so im throwing errors with this plugin now
| Failed to call hook 'OnPlayerAttack' on plugin 'FriendlyFire v1.1.1' (InvalidCastException: Null object cannot be converted to a value type.)
  at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x00029] in <a8ed250850854b439cedc18931a314fe>:0 
  at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x0000c] in <a8ed250850854b439cedc18931a314fe>:0 
  at Oxide.Core.Plugins.Plugin.Call[T] (System.String hook, System.Object[] args) [0x00008] in <4452f821def6406d834e4149849fe7ea>:0 
  at Oxide.Plugins.FriendlyFire.OnPlayerAttack (BasePlayer player, HitInfo info) [0x00121] in <eeaa63a717ce409e91538512e871c22c>:0 
  at Oxide.Plugins.FriendlyFire.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0016c] in <eeaa63a717ce409e91538512e871c22c>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0​
Simply change AreFriendsS to AreFriends. The author should be fixing it soon.
5df88518bef43.png Wulf
Simply change AreFriendsS to AreFriends. The author should be fixing it soon.

appreciated wulf as always :)

Failed to call hook 'OnPlayerAttack' on plugin 'FriendlyFire v1.0.9' (InvalidCastException: Null object cannot be converted to a value type.)
at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x00029] in <a8ed250850854b439cedc18931a314fe>:0
at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x0000c] in <a8ed250850854b439cedc18931a314fe>:0
at Oxide.Core.Plugins.Plugin.Call[T] (System.String hook, System.Object[] args) [0x00008] in <4452f821def6406d834e4149849fe7ea>:0
at Oxide.Plugins.FriendlyFire.OnPlayerAttack (BasePlayer player, HitInfo info) [0x00101] in <e2b69130960f481fa7dc44def78c2a0b>:0
at Oxide.Plugins.FriendlyFire.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0016c] in <e2b69130960f481fa7dc44def78c2a0b>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
Please update.
Locked automatically