[Bleeding] Fixed crafting enchanted items, fixes BUKKIT-602

This commit is contained in:
Wesley Wolfe 2012-03-02 13:23:27 -06:00 committed by EvilSeph
parent 2d5263bfe5
commit c6273810a1

View file

@ -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);
}
}