mojira.dev
MC-138654

"seconds" argument in /effect command is applied as ticks with some effects

When giving some effects via the /effect command, the "seconds" argument is applied as ticks after the execution.

The affected effects are saturation, instant_damage and instant_health (the only 3 effects not having an icon btw).

 

How to reproduce

  1. Type /effect give @p minecraft:saturation 40

  2. Run the command

  3. You will see that the effect lasts only 2 seconds, as 20 ticks = 1 second

  4. If you try with another effect, "40" is properly applied as seconds

Related issues

Comments

No comments.

Yanis48

(Unassigned)

Unconfirmed

Minecraft 18w44a

Retrieved