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.
Linked issues
relates to 1
Comments 5
This issue is invalid in 15w42a. Probably due to MC-89174 not being fixed.
This could be intentional, as enchantment IDs still support numbers.