Fixed examine commando command

(cherry picked from commit 06273eefaed05b1dd1d9dfaa3a472b4eaff7f695)
This commit is contained in:
Chomp
2025-11-27 13:55:59 +00:00
parent 9d3d8d109c
commit f1a60a9872
@@ -59,7 +59,7 @@ public class ProfileSptCommand(ISptLogger<ProfileSptCommand> logger, MailSendSer
var result = _commandRegex.Match(request.Text);
var command = result.Groups["command"].Length > 0 ? result.Groups["command"].Captures[0].Value : null;
var command = isExamine ? "examine" : (result.Groups["command"].Length > 0 ? result.Groups["command"].Captures[0].Value : null);
var skill = result.Groups["skill"].Length > 0 ? result.Groups["skill"].Captures[0].Value : null;
var quantity = int.Parse(result.Groups["quantity"].Length > 0 ? result.Groups["quantity"].Captures[0].Value : "0");