From 854b87c5f3735bf81a395248ae1228a38af16ca6 Mon Sep 17 00:00:00 2001 From: Bluefissure Date: Fri, 29 Oct 2021 23:18:40 +0800 Subject: [PATCH] fix: support both sc&tc --- Dalamud/Game/Command/CommandManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dalamud/Game/Command/CommandManager.cs b/Dalamud/Game/Command/CommandManager.cs index 8519d9b37..b1038f294 100644 --- a/Dalamud/Game/Command/CommandManager.cs +++ b/Dalamud/Game/Command/CommandManager.cs @@ -24,7 +24,7 @@ namespace Dalamud.Game.Command private readonly Regex commandRegexJp = new(@"^そのコマンドはありません。: (?.+)$", RegexOptions.Compiled); private readonly Regex commandRegexDe = new(@"^„(?.+)“ existiert nicht als Textkommando\.$", RegexOptions.Compiled); private readonly Regex commandRegexFr = new(@"^La commande texte “(?.+)” n'existe pas\.$", RegexOptions.Compiled); - private readonly Regex commandRegexCn = new(@"^“(?.+)”出現問題:該命令不存在。$", RegexOptions.Compiled); + private readonly Regex commandRegexCn = new(@"^“(?.+)”(出现问题:该命令不存在|出現問題:該命令不存在)。$", RegexOptions.Compiled); private readonly Regex currentLangCommandRegex; ///