Error when using console command cuffs {steamid}

When having my guishop trigger the command

cuffs {steamid}​

it returns this in the console, failing to give the player cuffs

 

Failed to call hook 'RestrainCmd' on plugin 'RustyCuffs v0.9.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.RustyCuffs.FindPlayer (System.String name, System.Object player, System.String command, System.String[]& args, BasePlayer& target) [0x0006a] in <26ebe5cf8a134b349e4abe955f7ffda6>:0 
  at Oxide.Plugins.RustyCuffs.RestrainCmd (Oxide.Core.Libraries.Covalence.IPlayer player, System.String command, System.String[] args) [0x0006a] in <26ebe5cf8a134b349e4abe955f7ffda6>:0 
  at Oxide.Plugins.RustyCuffs.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0094e] in <26ebe5cf8a134b349e4abe955f7ffda6>: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 :0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0 

Hi thank you for reaching out. We spoke about this issue on Discord and I will post a fix for this soon.

it returns this in the console, failing to give the player cuffs
08:22:34 Failed to call hook 'CanMountEntity' on plugin 'RustyCuffs v0.9.31' (ArgumentNullException: Value cannot be null.
Parameter name: key)
at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Oxide.Plugins.RustyCuffs.CanMountEntity (BasePlayer player, BaseMountable mount) [0x00000] in <9e6cced9b9ee45698093a3dbd1fd70c9>:0
at Oxide.Plugins.RustyCuffs.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00d91] in <9e6cced9b9ee45698093a3dbd1fd70c9>: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 <0fbce81d88d64454b3e7abb24df7026b>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <0fbce81d88d64454b3e7abb24df7026b>:0
aeuR864g3tIYgWL.jpg Jakub96124
it returns this in the console, failing to give the player cuffs
08:22:34 Failed to call hook 'CanMountEntity' on plugin 'RustyCuffs v0.9.31' (ArgumentNullException: Value cannot be null.
Parameter name: key)
at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Oxide.Plugins.RustyCuffs.CanMountEntity (BasePlayer player, BaseMountable mount) [0x00000] in <9e6cced9b9ee45698093a3dbd1fd70c9>:0
at Oxide.Plugins.RustyCuffs.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00d91] in <9e6cced9b9ee45698093a3dbd1fd70c9>: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 <0fbce81d88d64454b3e7abb24df7026b>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <0fbce81d88d64454b3e7abb24df7026b>:0
Will deploy a fix to this over the following week, thanks for sharing!