From 7577ac8511c038c11795a7effb80b8b60cdfdff5 Mon Sep 17 00:00:00 2001 From: Vincent Lee Date: Fri, 1 Feb 2019 16:43:00 -0600 Subject: [PATCH] Fix #2836 --- .../vazkii/botania/common/crafting/recipe/SpellClothRecipe.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/vazkii/botania/common/crafting/recipe/SpellClothRecipe.java b/src/main/java/vazkii/botania/common/crafting/recipe/SpellClothRecipe.java index c77b3804c..3368353ce 100644 --- a/src/main/java/vazkii/botania/common/crafting/recipe/SpellClothRecipe.java +++ b/src/main/java/vazkii/botania/common/crafting/recipe/SpellClothRecipe.java @@ -54,7 +54,7 @@ public class SpellClothRecipe extends IForgeRegistryEntry.Impl implemen ItemStack stackToDisenchant = ItemStack.EMPTY; for(int i = 0; i < var1.getSizeInventory(); i++) { ItemStack stack = var1.getStackInSlot(i); - if(!stack.isEmpty() && stack.isItemEnchanted()) { + if(!stack.isEmpty() && stack.isItemEnchanted() && stack.getItem() != ModItems.spellCloth) { stackToDisenchant = stack.copy(); stackToDisenchant.setCount(1); break;