Jump to content

Failed to call hook 'OnItemAction' on plugin 'MysteryLoot v1.0.2' (NullReferenceException: Object reference not set to an instance of an object)

Fixed 1.0.2 1.0.3

ChardaZAR

Posted

Hey just got this plugin. Super cool! Looking forward to diving deeper into it

Been getting this one or two times. Looks like it happens when a player loots a drop

Failed to call hook 'OnItemAction' on plugin 'MysteryLoot v1.0.2' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.MysteryLoot.GetRarityFromItemName (System.String itemName) [0x0001f] in <3351711bcbab47d8af1ed21a1890f425>:0 at Oxide.Plugins.MysteryLoot.OnItemAction (Item item, System.String action, BasePlayer player) [0x0002a] in <3351711bcbab47d8af1ed21a1890f425>:0 at Oxide.Plugins.MysteryLoot.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00172] in <3351711bcbab47d8af1ed21a1890f425>: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 :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

No one has complained, so not too concerned. Just wanted to enquire

Thanks!

SinKohh

Posted

Changed Status from Pending to Work in Progress

Changed Fixed In to Next Version

SinKohh

Posted

I updated the plugin to handle the OnItemAction differently so the issue should no longer occur.

  • Like 1
SinKohh

Posted

Changed Status from Work in Progress to Fixed

ChardaZAR

Posted

Thank you. I'll test it this weekend

1.9m

Downloads

Total number of downloads.

9k

Customers

Total customers served.

131.7k

Files Sold

Total number of files sold.

2.7m

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.