diff --git a/src/main/java/net/minestom/server/utils/NBTUtils.java b/src/main/java/net/minestom/server/utils/NBTUtils.java index 785914d03..01a1c27c2 100644 --- a/src/main/java/net/minestom/server/utils/NBTUtils.java +++ b/src/main/java/net/minestom/server/utils/NBTUtils.java @@ -103,10 +103,9 @@ public final class NBTUtils { for (Map.Entry entry : enchantmentMap.entrySet()) { final Enchantment enchantment = entry.getKey(); final short level = entry.getValue(); - enchantList.add(new NBTCompound() .setShort("lvl", level) - .setString("id", "minecraft:" + enchantment.name().toLowerCase()) + .setString("id", enchantment.name()) ); } nbt.set(listName, enchantList);