mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-02 13:07:06 +01:00
[Bleeding] Fixed crafting enchanted items, fixes BUKKIT-602
This commit is contained in:
parent
2d5263bfe5
commit
c6273810a1
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ public class CraftInventoryCrafting extends CraftInventory implements CraftingIn
|
|||
if (item == null || item.getTypeId() <= 0) {
|
||||
contents[0] = null;
|
||||
} else {
|
||||
contents[0] = new net.minecraft.server.ItemStack( item.getTypeId(), item.getAmount(), item.getDurability());
|
||||
contents[0] = CraftItemStack.createNMSItemStack(item);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue