Jump to content

Bradley Drops 1.0.13

Closed 1.0.13 1.0.14

After installation, a new version of the plugin, deleting the config, and much more, such errors fly out from time to time, and I don’t know what it is connected with!

 

Failed to call hook 'CanLootEntity' on plugin 'BradleyDrops v1.0.13' (ArgumentNullException: Value cannot be null.
Parameter name: key)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <fb001e01371b4adca20013e0ac763896>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <fb001e01371b4adca20013e0ac763896>:0 
  at Oxide.Plugins.BradleyDrops.CanLootEntity (BasePlayer player, LockedByEntCrate entity) [0x0001d] in <274283c1e1074519afee27ff1a421e47>:0 
  at Oxide.Plugins.BradleyDrops.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00bbd] in <274283c1e1074519afee27ff1a421e47>: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 <d5f57e12edfe4fa0b5c5dbdd9b51eff8>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <d5f57e12edfe4fa0b5c5dbdd9b51eff8>:0  
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Share this comment


Link to comment

Thanks for the report, do you know when this error is thrown? Do you know what item the player is looting for example?

Share this comment


Link to comment

It’s hard to say this, I don’t understand myself, it seems that there is no object, but the error flies out by itself!

Share this comment


Link to comment

The error itself is harmless, it won’t affect the server and the players won’t notice anything. But I will check over it tonight and find what could be causing it. I thought I’d null checked everything but I’m obviously missing something.

I’ll get it sorted though 👍🏻

Share this comment


Link to comment
486.8k

Downloads

Total number of downloads.

2.7k

Customers

Total customers served.

36.5k

Files Sold

Total number of files sold.

612.1k

Payments Processed

Total payments processed.

×
×
  • 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.