00:32 [Error] Failed to call hook 'CmdConsoleKitGui' on plugin 'Kits v3.3.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Kits.BuildWeapon (System.Int32 id, System.UInt64 skin, System.Collections.Generic.List`1[T] mods) [0x00070] in <787842d8411c449aafc4aea634853494>:0
at Oxide.Plugins.Kits.GiveKit (BasePlayer player, System.String kitname) [0x00068] in <787842d8411c449aafc4aea634853494>:0
at Oxide.Plugins.Kits.TryGiveKit (BasePlayer player, System.String kitname) [0x0001e] in <787842d8411c449aafc4aea634853494>:0
at Oxide.Plugins.Kits.CmdConsoleKitGui (ConsoleSystem+Arg arg) [0x0004d] in <787842d8411c449aafc4aea634853494>:0
at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00d93] in <787842d8411c449aafc4aea634853494>: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 BuildWeaponFixed
I had this issue once before and if I remember correctly it's because your making changes to the files, and saving, then not reloading the plugin before using.
Thanks for the advice but im still having this issue, i deleted the kits_data,the lang file and the config file and reloaded the plugin, and i'm still having those errors. Any other ideas ?
Merged post
I found out the issue, some kits weren't redeeming forr some reason so i just edited the kit and re-added the items to the kit and saved it again.
Merged post
I found out the issue, some kits weren't redeeming forr some reason so i just edited the kit and re-added the items to the kit and saved it again.
Pur3x
Thanks for the advice but im still having this issue, i deleted the kits_data,the lang file and the config file and reloaded the plugin, and i'm still having those errors. Any other ideas ?
Merged post
I found out the issue, some kits weren't redeeming forr some reason so i just edited the kit and re-added the items to the kit and saved it again.
If there is no problem can you mark the issue "solved" , saves people reading already corrected problems
Heyho, just pushed a update that will fix this even without re adding the kit items.
Locked automatically