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

Wrong entity type and count command exceptions don't fit with error position indicator

    XMLWordPrintable

    Details

    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      Command exceptions for wrong entity types or count don't fit with the error position indicator because the messages are ending with a period.

      Only players may be affected by this command, but the provided selector includes entities. at position 0: <--[HERE]
      

      Affected exceptions

      Translation key Message Command to reproduce
      argument.entity.toomany Only one entity is allowed, but the provided selector allows more than one. /data get entity @e see MC-121808
      argument.player.toomany Only one player is allowed, but the provided selector allows more than one. /data get entity @e see MC-121808
      argument.player.entities Only players may be affected by this command, but the provided selector includes entities. /gamemode survival @e

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            marcono1234 [Mod] Marcono1234
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              CHK: