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

"limit" selector gets "fixed" on an entity

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.13-pre6
    • Java 8 

      Windows 10
    • Unconfirmed

      An exemple will allow me to be better undestood :

      There is two entites. Let's take Armor Stands. The player enters a command to make the nearest entity to him say "Hi".

      /execute as @e[limit=1,type=minecraft:armor_stand] run say Hi
      

      At first, the command is executed sucessfully. But if the player moves to the second entity (who became the nearest to the player) and execute the command, the first Armor Stand will say Hi.

      So the first entity keep being detected as the nearest one to the player, even if he is physically not.

            Unassigned Unassigned
            ZenoWhite ZenoWhite
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: