Jump to content

Console error

Closed 1.0.5 1.0.6

ProjektEU
ProjektEU

Posted

16:46 [Error] Failed to call hook 'CanLootEntity' on plugin 'ItemPerksLegendaryItems v1.0.5' (NullReferenceException: Object reference not set to an instance of an object.)
  at Oxide.Plugins.ItemPerksLegendaryItems.CanLootEntity (BasePlayer player, LootContainer container) [0x00000] in <4930c2a7bdfd40b18419ca81ea9675df>:0 
  at Oxide.Plugins.ItemPerksLegendaryItems.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0078f] in <4930c2a7bdfd40b18419ca81ea9675df>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <112d89ea5d3348c8b949af0ab1a866d2>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <112d89ea5d3348c8b949af0ab1a866d2>:0

Don't you see what could be causing the error?

  • Curator
imthenewguy

Posted

For whatever reason, the container or the container.network is null when the hook is called (could be caused by another plugin killing it before mine has the opportunity to handle it).

Ill add null checks to the next release.

 

  • Curator
imthenewguy

Posted

Changed Status from Pending to Closed

Changed Fixed In to Next Version

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
11k
Customers served
Files Sold
158.5k
Marketplace 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.