From c6ae51dc0c264bfa71f9a347cf264e3dd02800fd Mon Sep 17 00:00:00 2001 From: Auxilor Date: Sun, 11 Sep 2022 10:15:32 +0100 Subject: [PATCH] Fixed other bug --- .../kotlin/com/willfp/ecoenchants/enchants/EcoEnchantLike.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/EcoEnchantLike.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/EcoEnchantLike.kt index eeec0136..49230860 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/EcoEnchantLike.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/EcoEnchantLike.kt @@ -127,7 +127,7 @@ class VanillaEcoEnchantLike( return false } - if (item.type == Material.BOOK || item.type == Material.ENCHANTED_BOOK) { + if (item.type == Material.ENCHANTED_BOOK) { return true }