Jump to content

Failed to call hook 'OnPlayerDeath'

Closed 1.0.1 1.0.1

Mabel
Mabel

Posted (edited)

Hello firstly i want to say thanks for the plugin it works perfectly 🙂

But ive noticed i get the following error when a junkpile scientist dies to a world object 

 

Failed to call hook 'OnPlayerDeath' on plugin 'NoRestore v1.0.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.NoRestore.OnPlayerDeath (BasePlayer player, HitInfo info) [0x00037] in <15a1ba17e6664454bd680d51ce8d2a41>:0 
  at Oxide.Plugins.NoRestore.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00109] in <15a1ba17e6664454bd680d51ce8d2a41>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0  
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

JunkPileScientist[577359] was killed by cactus-1 (entity) at (807.7, 26.5, -1000.5)

This only happens at this time and does not give the error for players 

Edited by Mabel
DeutscherRitterPlatz

Posted

Thanks for your report, I'll take a look at the problem and fix it if necessary.

  • Like 1
DeutscherRitterPlatz

Posted

Changed Status from Pending to Work in Progress

Changed Fixed In to 1.0.1

1.5m

Downloads

Total number of downloads.

7k

Customers

Total customers served.

105.3k

Files Sold

Total number of files sold.

2.1m

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.