Failed to Call OnItemAddedToContainer

Noticing this error after update:

Failed to call hook 'OnItemAddedToContainer' on plugin 'ClothingSlots v1.1.1' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0 
  at Oxide.Plugins.ClothingSlots+SlotPlayerData.UpdateSlots () [0x00039] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.ClothingSlots.OnItemAddedToContainer (ItemContainer container, Item item) [0x00032] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.ClothingSlots.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00295] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0  
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Failed to call hook 'OnItemAddedToContainer' on plugin 'ClothingSlots v1.1.1' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0 
  at Oxide.Plugins.ClothingSlots+SlotPlayerData.UpdateSlots () [0x00039] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.ClothingSlots.OnItemAddedToContainer (ItemContainer container, Item item) [0x00032] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.ClothingSlots.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00295] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0  
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Failed to call hook 'OnItemAddedToContainer' on plugin 'ClothingSlots v1.1.1' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0 
  at Oxide.Plugins.ClothingSlots+SlotPlayerData.UpdateSlots () [0x00039] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.ClothingSlots.OnItemAddedToContainer (ItemContainer container, Item item) [0x00032] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.ClothingSlots.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00295] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0  
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Failed to call hook 'OnItemAddedToContainer' on plugin 'ClothingSlots v1.1.1' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0 
  at Oxide.Plugins.ClothingSlots+SlotPlayerData.UpdateSlots () [0x00039] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.ClothingSlots.OnItemAddedToContainer (ItemContainer container, Item item) [0x00032] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.ClothingSlots.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00295] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0  
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Failed to call hook 'OnItemAddedToContainer' on plugin 'ClothingSlots v1.1.1' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0 
  at Oxide.Plugins.ClothingSlots+SlotPlayerData.UpdateSlots () [0x00039] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.ClothingSlots.OnItemAddedToContainer (ItemContainer container, Item item) [0x00032] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.ClothingSlots.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00295] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0  
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Failed to call hook 'OnItemAddedToContainer' on plugin 'ClothingSlots v1.1.1' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0 
  at Oxide.Plugins.ClothingSlots+SlotPlayerData.UpdateSlots () [0x00039] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.ClothingSlots.OnItemAddedToContainer (ItemContainer container, Item item) [0x00032] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.ClothingSlots.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00295] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0  
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Failed to call hook 'OnItemAddedToContainer' on plugin 'ClothingSlots v1.1.1' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0 
  at Oxide.Plugins.ClothingSlots+SlotPlayerData.UpdateSlots () [0x00039] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.ClothingSlots.OnItemAddedToContainer (ItemContainer container, Item item) [0x00032] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.ClothingSlots.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00295] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0  
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Failed to call hook 'OnItemAddedToContainer' on plugin 'ClothingSlots v1.1.1' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0 
  at Oxide.Plugins.ClothingSlots+SlotPlayerData.UpdateSlots () [0x00039] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.ClothingSlots.OnItemAddedToContainer (ItemContainer container, Item item) [0x00032] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.ClothingSlots.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00295] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0  
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Failed to call hook 'OnItemAddedToContainer' on plugin 'ClothingSlots v1.1.1' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0 
  at Oxide.Plugins.ClothingSlots+SlotPlayerData.UpdateSlots () [0x00039] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.ClothingSlots.OnItemAddedToContainer (ItemContainer container, Item item) [0x00032] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.ClothingSlots.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00295] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0  
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Failed to call hook 'OnItemAddedToContainer' on plugin 'ClothingSlots v1.1.1' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0 
  at Oxide.Plugins.ClothingSlots+SlotPlayerData.UpdateSlots () [0x00039] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.ClothingSlots.OnItemAddedToContainer (ItemContainer container, Item item) [0x00032] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.ClothingSlots.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00295] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0  
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Failed to call hook 'OnItemAddedToContainer' on plugin 'ClothingSlots v1.1.1' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0 
  at Oxide.Plugins.ClothingSlots+SlotPlayerData.UpdateSlots () [0x00039] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.ClothingSlots.OnItemAddedToContainer (ItemContainer container, Item item) [0x00032] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.ClothingSlots.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00295] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0  
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Failed to call hook 'OnItemAddedToContainer' on plugin 'ClothingSlots v1.1.1' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0 
  at Oxide.Plugins.ClothingSlots+SlotPlayerData.UpdateSlots () [0x00039] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.ClothingSlots.OnItemAddedToContainer (ItemContainer container, Item item) [0x00032] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.ClothingSlots.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00295] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0  
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Failed to call hook 'OnItemAddedToContainer' on plugin 'ClothingSlots v1.1.1' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0 
  at Oxide.Plugins.ClothingSlots+SlotPlayerData.UpdateSlots () [0x00039] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.ClothingSlots.OnItemAddedToContainer (ItemContainer container, Item item) [0x00032] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.ClothingSlots.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00295] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0  
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Failed to call hook 'OnItemAddedToContainer' on plugin 'ClothingSlots v1.1.1' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0 
  at Oxide.Plugins.ClothingSlots+SlotPlayerData.UpdateSlots () [0x00039] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.ClothingSlots.OnItemAddedToContainer (ItemContainer container, Item item) [0x00032] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.ClothingSlots.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00295] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0  
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

​

Thank you for writing.
Give more information, under what conditions do you have this error, what exactly are you doing in the game?

P.S. Since your error in your post is repeated, there is no need to copy a bunch of lines mindlessly.
It is enough to do so.

Failed to call hook 'OnItemAddedToContainer' on plugin 'ClothingSlots v1.1.1' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0
  at Oxide.Plugins.ClothingSlots+SlotPlayerData.UpdateSlots () [0x00039] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0
  at Oxide.Plugins.ClothingSlots.OnItemAddedToContainer (ItemContainer container, Item item) [0x00032] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0
  at Oxide.Plugins.ClothingSlots.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00295] in <4cfd2f5f003b4929bbdbc2037c5d5b00>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)​

I wonder if you're clearing out the memory after a reload? It's referencing the dictionary and if the configuration has a change maybe there's a conflict there. 

Hello, what exactly are you asking me?
If you want to help in some way, then let's move on to private correspondence.
Discord or private message.
I don’t understand you, do you have the same error, or did you just comment on a post two months ago?