getting this in console
Failed to call hook 'CanLootEntity' on plugin 'MiniCopterLock v0.1.6' (InvalidCastException: Specified cast is not valid.)
at System.Convert.ToInt32 (System.Object value) [0x00003] in <fb001e01371b4adca20013e0ac763896>:0
at Oxide.Plugins.MiniCopterLock.CanLootEntity (BasePlayer player, StorageContainer container) [0x0004a] in <058411121db8499287cfc62d8ceb749f>:0
at Oxide.Plugins.MiniCopterLock.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0071e] in <058411121db8499287cfc62d8ceb749f>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0
this is my config
https://pastebin.com/VeAs52hH
Getting this error in console
getting this one too
Failed to call hook 'CanMountEntity' on plugin 'MiniCopterLock v0.1.6' (InvalidCastException: Specified cast is not valid.)
at System.Convert.ToInt32 (System.Object value) [0x00003] in <fb001e01371b4adca20013e0ac763896>:0
at Oxide.Plugins.MiniCopterLock.PlayerIsAuthorized (BasePlayer player, MiniCopter miniCopter) [0x0001a] in <700ae205b765459e80abc78f0b820f5b>:0
at Oxide.Plugins.MiniCopterLock.CanMountEntity (BasePlayer player, BaseMountable entity) [0x00046] in <700ae205b765459e80abc78f0b820f5b>:0
at Oxide.Plugins.MiniCopterLock.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x004d0] in <700ae205b765459e80abc78f0b820f5b>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0Merged post
and this one
Failed to call hook 'OnEntityDismounted' on plugin 'MiniCopterLock v0.1.6' (InvalidCastException: Specified cast is not valid.)
at System.Convert.ToInt32 (System.Object value) [0x00003] in <fb001e01371b4adca20013e0ac763896>:0
at Oxide.Plugins.MiniCopterLock.PlayerIsAuthorized (BasePlayer player, MiniCopter miniCopter) [0x0001a] in <700ae205b765459e80abc78f0b820f5b>:0
at Oxide.Plugins.MiniCopterLock.OnEntityDismounted (BaseMountable entity, BasePlayer player) [0x00022] in <700ae205b765459e80abc78f0b820f5b>:0
at Oxide.Plugins.MiniCopterLock.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x008c7] in <700ae205b765459e80abc78f0b820f5b>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0