mojira.dev
MC-276278

Giving an effect with particles enabled + a finite duration will override an effect with particles disabled permanently

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:

  1. Give an effect with an infinite duration, and particles disabled

    /effect give @p minecraft:regeneration infinite 255 true
  2. 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.

Attachments

Comments 0

No comments.

RedzyTheZookeep

(Unassigned)

Confirmed

Platform

Low

Commands, Particles

Particles, commands, glowing

1.21.1, 25w02a

Retrieved