mojira.dev
MC-30273

Ordering Enchanted Item Through /give Always Gives an Item with "Protection enchantment.level 0."

When ordering a diamond sword with enchantment ID 16 (Sharpness) through commands, the result was a diamond sword with a tag "Protection enchantment.level.0". I am confident that I used the command correctly, but just in case, here's what i wrote:

/give nbairen 276 1 0 {ench:[0:{id:16;lvl:5}]}

It should have worked, but if I did something wrong, please tell me. Otherwise, it'd be great if you could help, thanks!

Linked issues

Comments 3

By the way, when I uploaded the issue, something happened with the brackets. The command was, of course, only one line.

Use commas, not semicolons.

Oh thank you! I'm sorry, I didn't notice that. But thanks anyway!

Nate Bairen

(Unassigned)

Unconfirmed

Minecraft 13w36b

Retrieved