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?
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?