Jump to content

Getting this error in console

Can't Reproduce 1.2.6

Wrecks

Failed to call hook 'OnNpcTarget' on plugin 'BankHeist v1.2.6' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Core.Libraries.Permission.UserHasPermission (System.String id, System.String perm) [0x0000a] in <0fbce81d88d64454b3e7abb24df7026b>:0
at Oxide.Plugins.BankHeist.HasPermission (System.String userID, System.String perm) [0x00000] in <41d990aa1d9642c09a936e68545c256b>:0
at Oxide.Plugins.BankHeist.OnNpcTarget (NPCPlayerApex npc, BasePlayer player) [0x0001a] in <41d990aa1d9642c09a936e68545c256b>:0
at Oxide.Plugins.BankHeist.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x002c2] in <41d990aa1d9642c09a936e68545c256b>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <0fbce81d88d64454b3e7abb24df7026b>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <0fbce81d88d64454b3e7abb24df7026b>:0

Share this comment


Link to comment
34 minutes ago, Wrecks said:

Failed to call hook 'OnNpcTarget' on plugin 'BankHeist v1.2.6' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Core.Libraries.Permission.UserHasPermission (System.String id, System.String perm) [0x0000a] in <0fbce81d88d64454b3e7abb24df7026b>:0
at Oxide.Plugins.BankHeist.HasPermission (System.String userID, System.String perm) [0x00000] in <41d990aa1d9642c09a936e68545c256b>:0
at Oxide.Plugins.BankHeist.OnNpcTarget (NPCPlayerApex npc, BasePlayer player) [0x0001a] in <41d990aa1d9642c09a936e68545c256b>:0
at Oxide.Plugins.BankHeist.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x002c2] in <41d990aa1d9642c09a936e68545c256b>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <0fbce81d88d64454b3e7abb24df7026b>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <0fbce81d88d64454b3e7abb24df7026b>:0

Looks like permission instance is null, not sure how that would be possible, will have to try replicate.

Edited by Naked Asylum

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

80.8k

Files Sold

Total number of files sold.

1.6m

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.