diff --git a/src/MaaCore/Task/Interface/CopilotTask.cpp b/src/MaaCore/Task/Interface/CopilotTask.cpp index 182b570c22..a3a2de4437 100644 --- a/src/MaaCore/Task/Interface/CopilotTask.cpp +++ b/src/MaaCore/Task/Interface/CopilotTask.cpp @@ -7,7 +7,6 @@ #include "Task/Fight/MedicineCounterPlugin.h" #include "Task/Miscellaneous/BattleFormationTask.h" #include "Task/Miscellaneous/BattleProcessTask.h" -#include "Task/Miscellaneous/CopilotListNotificationPlugin.h" #include "Task/Miscellaneous/TaskFileReloadTask.h" #include "Task/ProcessTask.h" #include "Utils/Logger.hpp" @@ -46,7 +45,6 @@ asst::CopilotTask::CopilotTask(const AsstCallback& callback, Assistant* inst) auto start_2_tp = std::make_shared(callback, inst, TaskType); start_2_tp->set_tasks({ "BattleStartAll" }).set_ignore_error(false); - m_copilot_list_notification_ptr = start_2_tp->register_plugin(); m_subtasks.emplace_back(start_2_tp); // 跳过“以下干员出战后将被禁用,是否继续?”对话框 diff --git a/src/MaaCore/Task/Interface/CopilotTask.h b/src/MaaCore/Task/Interface/CopilotTask.h index 9503cc7e43..d1615a934d 100644 --- a/src/MaaCore/Task/Interface/CopilotTask.h +++ b/src/MaaCore/Task/Interface/CopilotTask.h @@ -8,7 +8,6 @@ namespace asst class TaskFileReloadTask; class BattleProcessTask; class BattleFormationTask; - class CopilotListNotificationPlugin; class ProcessTask; // 抄作业任务 @@ -31,7 +30,6 @@ namespace asst std::shared_ptr m_adverse_select_task_ptr = nullptr; std::shared_ptr m_formation_task_ptr = nullptr; std::shared_ptr m_battle_task_ptr = nullptr; - std::shared_ptr m_copilot_list_notification_ptr = nullptr; std::shared_ptr m_stop_task_ptr = nullptr; std::string m_stage_name; };