[Bleeding] Fixed crafting enchanted items, fixes BUKKIT-602
By: Wesley Wolfe <weswolf@aol.com>
This commit is contained in:
@@ -127,7 +127,7 @@ public class CraftInventoryCrafting extends CraftInventory implements CraftingIn
|
|||||||
if (item == null || item.getTypeId() <= 0) {
|
if (item == null || item.getTypeId() <= 0) {
|
||||||
contents[0] = null;
|
contents[0] = null;
|
||||||
} else {
|
} else {
|
||||||
contents[0] = new net.minecraft.server.ItemStack( item.getTypeId(), item.getAmount(), item.getDurability());
|
contents[0] = CraftItemStack.createNMSItemStack(item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user