diff --git a/eco-core/core-nms/v1_21/src/main/kotlin/com/willfp/ecoenchants/proxy/v1_21/registration/EcoEnchantsCraftEnchantment.kt b/eco-core/core-nms/v1_21/src/main/kotlin/com/willfp/ecoenchants/proxy/v1_21/registration/EcoEnchantsCraftEnchantment.kt index 5db774db..2c71d411 100644 --- a/eco-core/core-nms/v1_21/src/main/kotlin/com/willfp/ecoenchants/proxy/v1_21/registration/EcoEnchantsCraftEnchantment.kt +++ b/eco-core/core-nms/v1_21/src/main/kotlin/com/willfp/ecoenchants/proxy/v1_21/registration/EcoEnchantsCraftEnchantment.kt @@ -38,7 +38,7 @@ class EcoEnchantsCraftEnchantment( } @Deprecated( - message = "getName is a paper Spigot API", + message = "EcoEnchants enchantments are not translatable", replaceWith = ReplaceWith("this.displayName(level)") ) override fun translationKey(): String { diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/mechanics/AnvilSupport.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/mechanics/AnvilSupport.kt index d9f019b2..b80881e1 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/mechanics/AnvilSupport.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/mechanics/AnvilSupport.kt @@ -39,10 +39,6 @@ interface OpenInventoryProxy { fun getOpenInventory(player: Player): Any } -interface AnvilRepairCostProxy { - fun setMaxRepairCost(inventory: AnvilInventory, cost: Int) -} - @Suppress("DEPRECATION") class AnvilSupport( private val plugin: EcoPlugin