Mojira Archive
MCPE-115964

/effect defaults to 30 ticks for instant effects, instead of 1 tick

The bug

When using /effect with an unspecified duration, it's supposed to default to 30 seconds for normal effects. This works fine. However, it's supposed to default to a single tick for instant effects. This does not work, instead it defaults to 30 ticks.

How to reproduce

/effect @s instant_damage

Expected behavior: You take damage once

Actual behavior: You take damage four times and die

Unresolved

[Mod] tryashtar

2021-01-27, 05:22 AM

2024-08-23, 10:41 PM

6

2

Confirmed

467787

vanilla-parity

1.19.80.21 Preview - 1.19.701.19.80.21 Preview, 1.17.40.23 Beta, 1.17.40.21 Beta, 1.17.20.20 Beta, 1.17.0.54 Beta, 1.17.0.50 Beta, 1.16.210.57 Beta, 1.16.201 Hotfix, 1.16.221 Hotfix, 1.17.2 Hotfix, 1.17.30, 1.17.32, 1.19.2 Hotfix, 1.19.70

-