When I give an entity an effect for an infinite amount of time particles disabled, if they get another shorter finite effect, once the shorter effect's duration has passed, the entity will still have particles.
Steps to Reproduce:
- Give an effect with an infinite duration, and particles disabled
/effect give @p minecraft:regeneration infinite 255 true
- Give an effect for 1 second, with particles enabled
/effect give @p minecraft:regeneration 1 255 false
Observed
The effect with particles enabled will override the previous effect permanently despite the effect only lasting 1 second, resulting in the particles staying after the second effect is expired.
Expected
The expected result is that the second effect would be applied for 1 second with particles, then fall back to the previous effect.