~williewillus/botania

b0f0f8556372675c46735e67f9170e3945c06c1d — David Vierra 7 years ago f369c9e
Fix Mana Enchanter only applying one enchanted book

`ench.func_191560_c` returns `true` if the two enchantments are mutually compatible.
1 files changed, 1 insertions(+), 1 deletions(-)

M src/main/java/vazkii/botania/common/block/tile/TileEnchanter.java
M src/main/java/vazkii/botania/common/block/tile/TileEnchanter.java => src/main/java/vazkii/botania/common/block/tile/TileEnchanter.java +1 -1
@@ 375,7 375,7 @@ public class TileEnchanter extends TileMod implements ISparkAttachable {

		for(EnchantmentData data : enchants) {
			Enchantment otherEnch = data.enchantmentobj;
			if (ench.func_191560_c(otherEnch))
			if (!ench.func_191560_c(otherEnch))
				return false;
		}