mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 19:34:09 +01:00
[Bleeding] Fixed crafting enchanted items, fixes BUKKIT-602
By: Wesley Wolfe <weswolf@aol.com>
This commit is contained in:
parent
0e0427ebeb
commit
c9937a01c8
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ public class ItemStack implements Cloneable, ConfigurationSerializable {
|
|||
if (stack.data != null) {
|
||||
this.data = stack.data.clone();
|
||||
}
|
||||
enchantments.putAll(stack.enchantments);
|
||||
this.addUnsafeEnchantments(stack.getEnchantments());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue