From d4cab320a8a0e396c0fa6e33e1992ca8201f0adc Mon Sep 17 00:00:00 2001 From: Hubry Date: Tue, 24 Dec 2019 22:47:37 +0100 Subject: [PATCH] Fix spellbinding cloth doing literally nothing (#3064) --- .../botania/common/crafting/recipe/SpellClothRecipe.java | 3 ++- 1 file changed, 2 insertions(+), 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 cdd2e96f4..eda44e8c4 100644 --- a/src/main/java/vazkii/botania/common/crafting/recipe/SpellClothRecipe.java +++ b/src/main/java/vazkii/botania/common/crafting/recipe/SpellClothRecipe.java @@ -65,7 +65,8 @@ public class SpellClothRecipe extends SpecialRecipe { if(stackToDisenchant.isEmpty()) return ItemStack.EMPTY; - stackToDisenchant.getTag().remove("ench"); // Remove enchantments + stackToDisenchant.removeChildTag("Enchantments"); // Remove enchantments + stackToDisenchant.removeChildTag("RepairCost"); return stackToDisenchant; }