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