NullReferenceException at OnOvenToggleError

Its spamming my console like crazy. Started after this months update. I waited for the smaller updates after the first one thinking it was an oxide thing and would be fixed, but still nothing yet. My console is pretty much unuseable.

Failed to call hook 'OnOvenToggle' on plugin 'QuickSmelt v5.1.3' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.QuickSmelt.OnOvenToggle (StorageContainer oven, BasePlayer player) [0x0004a] in <121214eb81974577b5a2b95cdd62a404>:0
at Oxide.Plugins.QuickSmelt.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000d5] in <121214eb81974577b5a2b95cdd62a404>: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 <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

This is still happening for me. My console is spammed constantly with these error messages:

Failed to call hook 'OnOvenToggle' on plugin 'QuickSmelt v5.1.3' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.QuickSmelt.OnOvenToggle (StorageContainer oven, BasePlayer player) [0x0004a] in <2220a45187864e3ca60fd2447ce56038>:0 
  at Oxide.Plugins.QuickSmelt.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000d5] in <2220a45187864e3ca60fd2447ce56038>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0 
Failed to call hook 'OnOvenToggle' on plugin 'QuickSmelt v5.1.3' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.QuickSmelt.OnOvenToggle (StorageContainer oven, BasePlayer player) [0x0004a] in <2220a45187864e3ca60fd2447ce56038>:0 
  at Oxide.Plugins.QuickSmelt.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000d5] in <2220a45187864e3ca60fd2447ce56038>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0 
Failed to call hook 'OnOvenToggle' on plugin 'QuickSmelt v5.1.3' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.QuickSmelt.OnOvenToggle (StorageContainer oven, BasePlayer player) [0x0004a] in <2220a45187864e3ca60fd2447ce56038>:0 
  at Oxide.Plugins.QuickSmelt.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000d5] in <2220a45187864e3ca60fd2447ce56038>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0​


Merged post

@misticos

Is this plugin still maintained?

FYI,  Plugin works fine for me.  I do not see error message.  I am submitting a patch for other stuff, will propose a null check for OnOvenToggle.

Thanks @Lorenzo!

I see this repeatedly in the console log.

Failed to call hook 'OnOvenToggle' on plugin 'QuickSmelt v5.1.3' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.QuickSmelt.OnOvenToggle (StorageContainer oven, BasePlayer player) [0x0004a] in <c260d144b7ec4cce8ad8411154ccb753>:0 
  at Oxide.Plugins.QuickSmelt.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000d5] in <c260d144b7ec4cce8ad8411154ccb753>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <12678b905a6d43c3a9cc366104306651>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <12678b905a6d43c3a9cc366104306651>:0