fix: 避免通宝插件通过任务链作用到通宝以外的地方 (#14867)

This commit is contained in:
travellerse
2025-11-27 00:35:27 +08:00
committed by GitHub
parent e00e69a26e
commit ca6f84a13e

View File

@@ -362,7 +362,6 @@ bool asst::RoguelikeCoppersTaskPlugin::handle_exchange_mode()
if (worst_it->get_copper_discard_priority() < m_new_copper.get_copper_discard_priority()) {
LogInfo << __FUNCTION__ << "new copper (" << m_new_copper.name
<< ") is worse than all existing coppers, abandoning exchange";
ProcessTask(*this, { "JieGarden@Roguelike@CoppersAbandonExchange" }).run();
return true;
}