Help fixing an hook errorSolved
I'm getting this a lot
Failed to call hook 'OnRocketLaunched' on plugin 'RaidTracker v1.2.3' (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 <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x0000c] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Oxide.Core.Plugins.Plugin.Call[T] (System.String hook, System.Object[] args) [0x00008] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
at Oxide.Plugins.RaidTracker.OnRocketLaunched (BasePlayer player, BaseEntity entity) [0x0004d] in <fde3df2c4b3448e784cb93b703a6995c>:0
at Oxide.Plugins.RaidTracker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005e3] in <fde3df2c4b3448e784cb93b703a6995c>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>: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

fixed in next update even though this should never throw an exception :p

ok thanks for reply

Locked automatically