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

@s fails to build valid commands

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • Minecraft 17w45a
    • Minecraft 17w45b
    • Windows 10
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:
                CHK: