Mojira Archive
MC-123236

Wrong error message when using invalid item in /replaceitem

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."

Fixed

[Mod] tryashtar

[Mojang] Cory Scheviak

2017-12-14, 05:09 AM

2018-07-04, 03:37 PM

2018-07-04, 03:37 PM

4

1

Confirmed

Minecraft 17w50a - Minecraft 1.13-pre5Minecraft 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