Jump to content

Getting this error in console

Can't Reproduce 1.2.6

Wrecks
Wrecks

Posted

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

FoxMods

Posted (edited)

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
FoxMods

Posted

Changed Status from Pending to Can't Reproduce

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

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.