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