mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 05:03:55 -07:00
[Bleeding] Fixed crafting enchanted items, fixes BUKKIT-602
By: Wesley Wolfe <weswolf@aol.com>
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user