Mojira Archive
MC-62485

When using an invalid enchantment ID, /enchant says "<text> is not a valid number".

Pretty much what the title says. When using /enchant, if an invalid enchantment name is used, it will say "<text> is not a valid number.", when it should be "<text> is not a valid enchantment id."

How to reproduce.

Perform the command '/enchant @p minecraft:randomtext' in-game.

Fixed

Ham Sammich

2014-07-18, 06:00 AM

2015-10-29, 10:38 AM

2015-10-21, 01:20 AM

0

1

Confirmed

Minecraft 14w29b, Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.2-pre1

Minecraft 15w42a