Skip to content

feat(AutoClear): 存在事件或BOSS时跳过清理 #988#989

Merged
ACaiCat merged 2 commits intomasterfrom
feat-autoclear
Jun 29, 2025
Merged

feat(AutoClear): 存在事件或BOSS时跳过清理 #988#989
ACaiCat merged 2 commits intomasterfrom
feat-autoclear

Conversation

@ACaiCat
Copy link
Copy Markdown
Member

@ACaiCat ACaiCat commented Jun 29, 2025

更新插件/修复BUG

  • 插件已修改版本号
  • 更新插件README.md中的更新日志
  • 插件可以正常工作

其他

  • ❤️熙恩我喜欢你

好的,这是将给定的 pull request 总结翻译成中文的结果:

Sourcery 总结

实现事件和 Boss 感知的智能清扫,具有延迟执行和更新配置属性名称的功能

新特性:

  • 当存在入侵、血月、DD2 事件、日食或激活的 Boss 时,跳过自动物品清理

增强功能:

  • 重构清扫调度,使用延迟超时和中心 CanSweep 检查
  • detectionIntervalSeconds 重命名为 DetectionIntervalSeconds,并修复 SweepRegaular 拼写错误为 SweepRegular
  • 通过删除过时的构造函数来简化插件初始化

文档:

  • 使用 v1.1.0 更新日志更新 README.md
Original summary in English

Summary by Sourcery

Implement event- and boss-aware smart sweeping with delayed execution and update configuration property names

New Features:

  • Skip automatic item clearing when invasions, Blood Moon, DD2 event, eclipse, or active bosses are present

Enhancements:

  • Refactor sweep scheduling to use a delayed timeout and central CanSweep check
  • Rename detectionIntervalSeconds to DetectionIntervalSeconds and fix SweepRegaular typo to SweepRegular
  • Streamline plugin initialization by removing the obsolete constructor

Documentation:

  • Update README.md with v1.1.0 changelog

@ACaiCat ACaiCat linked an issue Jun 29, 2025 that may be closed by this pull request
2 tasks
@sourcery-ai

This comment was marked as outdated.

sourcery-ai[bot]

This comment was marked as outdated.

@ACaiCat ACaiCat added this pull request to the merge queue Jun 29, 2025
Merged via the queue into master with commit f8e1e98 Jun 29, 2025
2 checks passed
@ACaiCat ACaiCat deleted the feat-autoclear branch July 3, 2025 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[建议|Suggestion] MAKE THE AUTOCLEAR NOT CLEAR WHEN THERES EVENT/BOSS

2 participants