From 9958c4b19e24d2e0baf82a668ced8fe16b9ee6fc Mon Sep 17 00:00:00 2001 From: MSWS Date: Mon, 19 Feb 2024 14:12:15 -0800 Subject: [PATCH] Debug out name --- mod/Jailbreak.LastRequest/LastRequestCommand.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/Jailbreak.LastRequest/LastRequestCommand.cs b/mod/Jailbreak.LastRequest/LastRequestCommand.cs index f58fb0c1..bae60630 100644 --- a/mod/Jailbreak.LastRequest/LastRequestCommand.cs +++ b/mod/Jailbreak.LastRequest/LastRequestCommand.cs @@ -80,11 +80,11 @@ public void Command_LastRequest(CCSPlayerController? executor, CommandInfo info) var target = info.GetArgTargetResult(2); if (!target.Players.Any()) { - info.ReplyToCommand("Invalid player"); + info.ReplyToCommand($"Could not find valid player using {info.GetArg(2)}"); return; } - if (target.Players.Count() > 1) + if (target.Players.Count > 1) { info.ReplyToCommand("Too many players"); return;