diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/target/EnchantLookup.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/target/EnchantLookup.kt index 632597a0..46cd3762 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/target/EnchantLookup.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/target/EnchantLookup.kt @@ -305,6 +305,8 @@ object EnchantLookup { } } + // This is such a fucking disgusting way of implementing %active_level%, + // and it's probably quite slow too. return found.map { val level = it.holder as EcoEnchantLevel