From c0cc7d119fb939b954bbb2c0a7601ea262008956 Mon Sep 17 00:00:00 2001 From: status102 <102887808+status102@users.noreply.github.com> Date: Mon, 28 Jul 2025 11:01:23 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E8=87=AA=E5=8A=A8=E7=BC=96=E9=98=9F?= =?UTF-8?q?=E5=B9=B2=E5=91=98=E5=B1=9E=E6=80=A7=E8=A6=81=E6=B1=82=E6=9C=AA?= =?UTF-8?q?=E6=BB=A1=E8=B6=B3=E7=9A=84=E6=8F=90=E7=A4=BA=E8=BE=93=E5=87=BA?= =?UTF-8?q?=E7=AD=89=E7=BA=A7=E4=B8=8A=E8=B0=83=E8=87=B3Error=20/=20Warnin?= =?UTF-8?q?g?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MaaWpfGui/Main/AsstProxy.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/MaaWpfGui/Main/AsstProxy.cs b/src/MaaWpfGui/Main/AsstProxy.cs index b45665f136..87dacb3eac 100644 --- a/src/MaaWpfGui/Main/AsstProxy.cs +++ b/src/MaaWpfGui/Main/AsstProxy.cs @@ -38,7 +38,6 @@ using MaaWpfGui.Models.AsstTasks; using MaaWpfGui.Services; using MaaWpfGui.Services.Notification; using MaaWpfGui.States; -using MaaWpfGui.ViewModels; using MaaWpfGui.ViewModels.UI; using MaaWpfGui.ViewModels.UserControl.TaskQueue; using Newtonsoft.Json; @@ -1749,7 +1748,7 @@ namespace MaaWpfGui.Main case "BattleFormationOperUnavailable": { var oper_name = DataHelper.GetLocalizedCharacterName(subTaskDetails!["oper_name"]?.ToString()); - Instances.CopilotViewModel.AddLog(string.Format(LocalizationHelper.GetString("BattleFormationOperUnavailable"), oper_name, subTaskDetails["requirement_type"])); + Instances.CopilotViewModel.AddLog(string.Format(LocalizationHelper.GetString("BattleFormationOperUnavailable"), oper_name, subTaskDetails["requirement_type"]), Instances.CopilotViewModel.IgnoreRequirements ? UiLogColor.Warning : UiLogColor.Error); break; }