Mojira Archive
MC-89174

/enchant with any invalid ID displays message "There is no such enchantment with ID 0"

After you've entered for example

/enchant @p 12345

the message you'll receive does not display the invalid ID that you've actually entered. The message will always say "There is no such enchantment with ID 0", and enchantment ID 0 does by the way exist. Same thing goes for invalid text IDs.


Code analysis by Marcono1234 can be found in this comment.