mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-17 02:45:13 +00:00
Fix #2836
This commit is contained in:
1 parent
d0f017f7c6
commit
7577ac8511
1 file changed
+1
-1
@@ -54,7 +54,7 @@ public class SpellClothRecipe extends IForgeRegistryEntry.Impl<IRecipe> 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;
|
||||
|
||||
Reference in new issue
Block a user