Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-115964

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


    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Preview, Beta, Beta, Beta, Beta, Beta, 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
    • None
    • Confirmed
    • Multiple
    • 467787

      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

            tryashtar [Mod] tryashtar
            6 Vote for this issue
            2 Start watching this issue