Botania (Fabric/Quilt)

Botania (Fabric/Quilt)

5M Downloads

Enchanted Spellbinding Cloth deletes items

thenewdreamer opened this issue ยท 1 comments

commented

Forge version: 14-23-5-2796
Botania version: 358

Attempting to disenchant an item using an enchanted spellbinding cloth will consume the item you're trying to disenchant and produce a second, unenchanted spellbinding cloth. This only happens if the cloth is placed before the other item in the crafting grid, and does not happen if placed afterwards or if the cloth is unenchanted

image

commented

Not at home so can't check but its probably happening on SpellClothRecipe L57, we look for the first enchanted item in the provided recipe but dont check that said item isnt the cloth itself.

Probably just need "&& stack.getItem() != ModItems.spellCloth" adding to the conditions.