mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-21 12:42:50 +00:00
Fix Mana Enchanter only applying one enchanted book
`ench.func_191560_c` returns `true` if the two enchantments are mutually compatible.
This commit is contained in:
1 parent
f369c9ee55
commit
b0f0f85563
1 file changed
+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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user