Failed to call hook 'OnExplosiveThrown' on plugin 'Airstrike v0.3.6' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Airstrike.AddCooldownData (BasePlayer player, Oxide.Plugins.Airstrike+StrikeType type) [0x00016] in <6cd623500f944810bf938b9251bcd8ab>:0
at Oxide.Plugins.Airstrike.OnExplosiveThrown (BasePlayer player, BaseEntity entity) [0x00086] in <6cd623500f944810bf938b9251bcd8ab>:0
at Oxide.Plugins.Airstrike.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0023f] in <6cd623500f944810bf938b9251bcd8ab>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0 NullReferenceException at AddCooldownDataError
Failed to call hook 'cmdAirstrike' on plugin 'Airstrike v0.3.6' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Airstrike.AddCooldownData (BasePlayer player, Oxide.Plugins.Airstrike+StrikeType type) [0x00016] in <5c8ea6648ae74afc9084969a38236659>:0
at Oxide.Plugins.Airstrike.cmdAirstrike (BasePlayer player, System.String command, System.String[] args) [0x005c3] in <5c8ea6648ae74afc9084969a38236659>:0
at Oxide.Plugins.Airstrike.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005ed] in <5c8ea6648ae74afc9084969a38236659>: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 :0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0As title, I get this error every time a player tries to use the command. I saw this posted before and was said it was because of a null data file.
I checked my data file and it indeed just says "null" in it. I tried removing all the files for the plugin and relaoding but the error persists and the data file says "null" every time.
It has only recently started doing this. Any way to fix this? Thanks.
same here
Failed to call hook 'cmdAirstrike' on plugin 'Airstrike v0.3.6' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Airstrike.AddCooldownData (BasePlayer player, Oxide.Plugins.Airstrike+StrikeType type) [0x00016] in <6b41870939924a92bdcc80ebfbcc6807>:0
at Oxide.Plugins.Airstrike.cmdAirstrike (BasePlayer player, System.String command, System.String[] args) [0x005c3] in <6b41870939924a92bdcc80ebfbcc6807>:0
at Oxide.Plugins.Airstrike.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005ed] in <6b41870939924a92bdcc80ebfbcc6807>: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