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

@s fails to build valid commands

XMLWordPrintable

    • Confirmed

      A command like /give @s fish will fail to "compile" with error "Only players may be affected by this command, but the provided selector includes entities."

      The expected behavior is for the command to run, but fail if the selector @s happens to find an entity other than a player.

            dinnerbone [Mojang] Nathan Adams
            SirBenet SirBenet
            Votes:
            6 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: