hi
strange one here lol when i reload my kits.cs i get errors thrown in the consol
Failed to call hook 'OnServerInitialized' on plugin 'Kits v4.0.12' (ArgumentException: An item with the same key has already been added. Key: <color=#deff00>Discord</color>)
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Oxide.Plugins.Kits+KitData.RegisterImages (Oxide.Core.Plugins.Plugin plugin) [0x0008d] in <99eb809ba6a6400b9545b8441712bb8e>:0
at Oxide.Plugins.Kits.OnServerInitialized () [0x00000] in <99eb809ba6a6400b9545b8441712bb8e>:0
at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001ad] in <99eb809ba6a6400b9545b8441712bb8e>: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>:0now i know what causes the issue and that is its duplicated my kit then placed this in the title <color=#deff00>Discord</color>)
so first i go in the datafile and remove the duplicate file that has been created and save file and reload kits.cs
now in the game and you /kit to open the kits menu and click on discord it wont open, so i /kit edit discord this allows me to open the edit menu and save the the kit.... perfect weve won lol noooo now when i reload the kits.cs theduplicate error has returned eek
does anyone have any help to can offer towards this !! thanks