Failed to call hook 'CanLootEntity' on plugin 'PreventLooting v1.12.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.PreventLooting.CanLootEntity (BasePlayer player, StorageContainer container) [0x000e4] in <c297589cc72940729aea4477f9ed9913>:0
at Oxide.Plugins.PreventLooting.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00694] in <c297589cc72940729aea4477f9ed9913>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cc99cb05b42e4ea494cdf294badea406>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <99d545163fdd4d57a562df7989f2ca0a>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <99d545163fdd4d57a562df7989f2ca0a>:0
NullReferenceException at CanLootEntityError
(12:18:50) | Failed to call hook 'CanLootEntity' on plugin 'PreventLooting v1.12.1' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.PreventLooting.CanLootEntity (BasePlayer player, StorageContainer container) [0x000e4] in :0 at Oxide.Plugins.PreventLooting.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00694] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <99d545163fdd4d57a562df7989f2ca0a>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <99d545163fdd4d57a562df7989f2ca0a>:0
How did you guys fix this error?
I'm having this same problem. Does anyone know how to fix it?
- 1
- 2