Jump to content

Getting this error upon startup

Closed 1.0.1

Stampy
Stampy

Posted

im getting this error

00:00 [Error] Failed to call hook 'OnPlayerDeath' on plugin 'MedicalItems v1.0.1' (ArgumentException: An item with the same key has already been added. Key: 76561198215184429)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <fb001e01371b4adca20013e0ac763896>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <fb001e01371b4adca20013e0ac763896>:0 
  at Oxide.Plugins.MedicalItems.OnPlayerDeath (BasePlayer player, HitInfo info) [0x0008a] in <9365aa0db08c489dbdd83b4b9c2cc12d>:0 
  at Oxide.Plugins.MedicalItems.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0037f] in <9365aa0db08c489dbdd83b4b9c2cc12d>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d431e37658ba4727b7490299d12dfc44>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0 

imthenewguy

Posted (edited)

I found the error.

I will patch in next release or you can PM me on discord for an updated copy.

In the meantime a plugin reload will fix the issue.

Edited by imthenewguy
Stampy

Posted

whats your discord ?

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.5m
Total downloads
Customers
11.2k
Customers served
Files Sold
160.2k
Total sales
Payments
3.4m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.