Skip to content

chore(plugin): 修复频繁调用 inventory.holder 卡服问题#223

Merged
YsGqHY merged 3 commits into
CoderKuo:stable/v3from
YsGqHY:stable/v3
Oct 27, 2025
Merged

chore(plugin): 修复频繁调用 inventory.holder 卡服问题#223
YsGqHY merged 3 commits into
CoderKuo:stable/v3from
YsGqHY:stable/v3

Conversation

@YsGqHY

@YsGqHY YsGqHY commented Oct 27, 2025

Copy link
Copy Markdown
Collaborator
  • 将插件版本升级至 3.8.8
  • 移除废弃的 InventoryNMSImpl 和 InventoryNMS 类
  • 在 Shortcuts 中增加对 PlayerInventory 的判断以避免非玩家背包点击事件处理
  • 为 WindowListener 增加静态菜单类型检查,防止非法操作触发卡服
  • 修改JSON解析条件判断顺序,优先检查JSON格式
  • 避免因插件未加载导致的线程卡死

- 修改JSON解析条件判断顺序,优先检查JSON格式
- 确保在处理NBT数据前验证插件是否已加载
- 避免因插件未加载导致的线程卡死
- 将插件版本从3.8.7 升级至 3.8.8
- 移除废弃的 InventoryNMSImpl 和 InventoryNMS 类
- 在 Shortcuts 中增加对 PlayerInventory 的判断以避免非玩家背包点击事件处理
- 为 WindowListener 增加静态菜单类型检查,防止非法操作触发卡服
@YsGqHY YsGqHY merged commit 92c5594 into CoderKuo:stable/v3 Oct 27, 2025
1 check passed
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.

1 participant