mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 21:19:00 +01:00
[Bleeding] Fixed crafting enchanted items, fixes BUKKIT-602
This commit is contained in:
parent
2d5263bfe5
commit
c6273810a1
@ -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 New Issue
Block a user