Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-131896

execute if entity @p[distance..3] always returns true on repeating cmd block, despite being out of range.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.13-pre3
    • None
    • Windows 8.1 64-bit, 64-based processor
      Java Version 8 Update 151 (build 1.8.0_151-b12)
    • Unconfirmed

      I have a repeating conditionless command block that doesn't need redstone set to detect when a player is in range of ..3 ----> execute if entity @p[distance..3] 

      It always outputs to a redstone comparator regardless if i'm in range or out of range. This changed however, if I add a run command after it. IE: ----> execute if entity @p[distance=..3] run say hi.   That command runs just fine.

      Am I crazy? I'm pretty sure the first command worked in the previous pre-release.

            Unassigned Unassigned
            ninjaturdius nick kraus
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: