-
Notifications
You must be signed in to change notification settings - Fork 10
Description
I get the following error after trying to change a previously set stack size in console. I was able to fix it by editing the config file and reloading the plugin.
Failed to call hook 'SetStackCommand' on plugin 'StackSizeController v3.2.2' (ArgumentException: An item with the same key has already been added. Key: explosive.timed)
at System.Collections.Generic.Dictionary2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Collections.Generic.Dictionary2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in :0
at Oxide.Plugins.StackSizeController.UpdateIndividualItemHardLimit (System.String shortname, System.Int32 stackLimit) [0x0002f] in <0a60fb93438e484c92b911d4318d2ddc>:0
at Oxide.Plugins.StackSizeController.SetStackCommand (Oxide.Core.Libraries.Covalence.IPlayer player, System.String command, System.String[] args) [0x000d7] in <0a60fb93438e484c92b911d4318d2ddc>:0
at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00d62] in <0a60fb93438e484c92b911d4318d2ddc>: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 :0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0
Failed to call hook 'SetStackCommand' on plugin 'StackSizeController v3.2.2' (ArgumentException: An item with the same key has already been added. Key: explosive.timed)
at System.Collections.Generic.Dictionary2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Collections.Generic.Dictionary2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in :0
at Oxide.Plugins.StackSizeController.UpdateIndividualItemHardLimit (System.String shortname, System.Int32 stackLimit) [0x0002f] in <0a60fb93438e484c92b911d4318d2ddc>:0
at Oxide.Plugins.StackSizeController.SetStackCommand (Oxide.Core.Libraries.Covalence.IPlayer player, System.String command, System.String[] args) [0x000d7] in <0a60fb93438e484c92b911d4318d2ddc>:0
at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00d62] in <0a60fb93438e484c92b911d4318d2ddc>: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 :0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0