From b0f0f8556372675c46735e67f9170e3945c06c1d Mon Sep 17 00:00:00 2001 From: David Vierra Date: Tue, 7 Mar 2017 22:34:55 -1000 Subject: [PATCH] Fix Mana Enchanter only applying one enchanted book `ench.func_191560_c` returns `true` if the two enchantments are mutually compatible. --- .../java/vazkii/botania/common/block/tile/TileEnchanter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/vazkii/botania/common/block/tile/TileEnchanter.java b/src/main/java/vazkii/botania/common/block/tile/TileEnchanter.java index b664dbb1e..df153d67d 100644 --- a/src/main/java/vazkii/botania/common/block/tile/TileEnchanter.java +++ b/src/main/java/vazkii/botania/common/block/tile/TileEnchanter.java @@ -375,7 +375,7 @@ private boolean isEnchantmentValid(Enchantment ench) { for(EnchantmentData data : enchants) { Enchantment otherEnch = data.enchantmentobj; - if (ench.func_191560_c(otherEnch)) + if (!ench.func_191560_c(otherEnch)) return false; } -- 2.45.2