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 f0e4d777..73ce55a2 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 @@ -58,6 +58,10 @@ interface EcoEnchantLike { ) } + override fun addInjectablePlaceholder(p0: MutableIterable) { + // Do nothing + } + override fun clearInjectedPlaceholders() { // Do nothing } 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 96ab9773..0e04a91b 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 @@ -282,9 +282,9 @@ object EnchantLookup { return this.getActiveEnchantLevelInSlot(enchant, slot) > 0 } - val Player.heldEnchantLevels: List> + val Player.heldEnchantLevels: List get() { - val found = mutableListOf>() + val found = mutableListOf() for ((slot, enchants) in this.heldEnchantsInSlots) { for ((enchant, level) in enchants) {