Dictionary null on pressing escapeSolved

(17:32:14) | Failed to run a 0.10 timer in 'InventoryViewer v4.1.0' (ArgumentException: An item with the same key has already been added. Key: 76561############***-76561############***)

at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x0015a] in <b11ba2a8fbf24f219f7cc98532a11304>:0

at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <b11ba2a8fbf24f219f7cc98532a11304>:0

at Oxide.Plugins.InventoryViewer.StartLooting (BasePlayer player, BasePlayer targetplayer, LootableCorpse corpse) [0x000cb] in <27b7bcff88aa4d95baf22948d0f14db9>:0

at Oxide.Plugins.InventoryViewer+<>c__DisplayClass13_0.<ViewInventory>b__1 () [0x00000] in <27b7bcff88aa4d95baf22948d0f14db9>:0

at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <beb2b64691c64e2b95b99491bd85442c>:0


happens when viewing backpack from PlayerAdminitration . and after view i press escape and error pops up ... everything runs correct but console has error
just edited out steam id

o and if i move things around in backpack.

17:35:12) | Failed to call hook 'CanMoveItem' on plugin 'InventoryViewer v4.1.0' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.InventoryViewer.CanMoveItem (Item item, PlayerInventory playerInventory, ItemContainerId targetContainer, System.Int32 targetSlot, System.Int32 amount) [0x00088] in <27b7bcff88aa4d95baf22948d0f14db9>:0

at Oxide.Plugins.InventoryViewer.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00458] in <27b7bcff88aa4d95baf22948d0f14db9>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0

Thanks ill have a look 🧐

😁πŸ€ͺπŸ˜ƒnice

fixed in v4.1.1

Locked automatically