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

Wrong error message when using invalid item in /replaceitem

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • Minecraft 17w50a, Minecraft 18w01a, Minecraft 18w02a, Minecraft 18w03b, Minecraft 18w06a, Minecraft 18w08b, Minecraft 18w11a, Minecraft 18w16a, Minecraft 1.13-pre1, Minecraft 1.13-pre5
    • Minecraft 1.13-pre6
    • None
    • Windows 10
    • Confirmed

    Description

      To reproduce, run the following command:

      /replaceitem entity @p armor.chest cod

      The expected error message is something like "[Raw Cod] cannot be applied to this slot," or even "Unable to replace the item." The actual error message is "The target does not have the specified slot."

      Attachments

        Activity

          People

            cojomax99 [Mojang] Cory Scheviak
            tryashtar [Mod] tryashtar
            Votes:
            4 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              CHK: