Jump to content

NPC loot error

Pending 1.0.12

Stampy

Posted

When an NPC loots a node or gathers i get this error: (please can you make it so NPC's get the loot as well.

Failed to call hook 'OnDispenserGather' on plugin 'RandomGatherPremium v1.0.12' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.RandomGatherPremium.OnDispenserGather (ResourceDispenser dispenser, BasePlayer player, Item item) [0x00059] in <6612ac9309ca4b53b806f38548f0a460>:0 
  at Oxide.Plugins.RandomGatherPremium.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003a4] in <6612ac9309ca4b53b806f38548f0a460>: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 
Failed to call hook 'OnDispenserGather' on plugin 'RandomGatherPremium v1.0.12' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.RandomGatherPremium.OnDispenserGather (ResourceDispenser dispenser, BasePlayer player, Item item) [0x00059] in <6612ac9309ca4b53b806f38548f0a460>:0 
  at Oxide.Plugins.RandomGatherPremium.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003a4] in <6612ac9309ca4b53b806f38548f0a460>: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

 

 

 

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

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.