chore(plugin): 修复频繁调用 inventory.holder 卡服问题#223
Merged
Conversation
YsGqHY
commented
Oct 27, 2025
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 增加静态菜单类型检查,防止非法操作触发卡服
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.