[Question / 询问] The effect of continuously removing debuffs on Infinity Chestplate/关于无尽胸甲持续消除debuff的效果
NebulaCN03 opened this issue · 0 comments
Checks / 检查
- I confirm that I have searched for existing issues / pull requests before reporting to avoid duplicate reporting./我确认在报告之前我已经搜索了现有的问题或者拉取请求,以避免重复报告。
- I confirm that I noted that if I don't follow the instructions, the issue may be closed directly./我确认我已经检查,如果我不按照说明进行操作,该问题可能会被直接关闭。
Description / 描述
The effect of continuously removing debuffs only takes effect when the player is wearing Infinity Chestplate and in a flying state, but does not take effect when the player is on the ground. I found that the condition in the source code is written as "if (player.getAbilities().flying && hasChest)". Is this your purpose?
无尽胸甲持续消除debuff的效果只在玩家穿着无尽胸甲同时处于飞行状态时生效,而在玩家处于地面上时不生效。我发现源代码中写的条件是“if (player.getAbilities().flying && hasChest)”,这里是有意为之吗?