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

@s fails to build valid commands

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 17w45a
    • Fix Version/s: Minecraft 17w45b
    • Labels:
    • Environment:

      Windows 10

    • Confirmation Status:
      Confirmed

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: