When i want to change some stacksize it get an exception.
for example:
stacksizecontroller.setstack note 1
stacksizecontroller.setstack hoodie 10
stacksizecontroller.setstack weapon.mod.holosight 10
...
they all produce the exception:
[Error] Failed to call hook 'SetStackCommand' on plugin 'StackSizeController v3.2.2' (ArgumentException: An item with the same key has already been added. Key: hoodie)
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.StackSizeController.UpdateIndividualItemHardLimit (System.String shortname, System.Int32 stackLimit) [0x0002f] in <8363490690c64c188c6a0c76408be6f0>:0
at Oxide.Plugins.StackSizeController.SetStackCommand (Oxide.Core.Libraries.Covalence.IPlayer player, System.String command, System.String[] args) [0x000d7] in <8363490690c64c188c6a0c76408be6f0>:0
at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00d62] in <8363490690c64c188c6a0c76408be6f0>: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