Failed to call hook 'OnGrowableGather'Fixed

Hi,
For some reason auto harvest stopped working and had to unload/load the plugin to work again. Error:

04/12/2021 18:48:13 | Failed to call hook 'OnGrowableGather' on plugin 'AutoPlant v1.1.0' (InvalidCastException: Specified cast is not valid.)
at Oxide.Plugins.AutoPlant.OnGrowableGather (GrowableEntity plant, BasePlayer player) [0x0004e] in <c9e1022ac4364beeb6e696285e046ba5>:0
at Oxide.Plugins.AutoPlant.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0008d] in <c9e1022ac4364beeb6e696285e046ba5>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>: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
Thank you for awesome plugin.

It seems fixed. Check it out.

Locked automatically