Small cleanups

This commit is contained in:
Auxilor 2024-06-22 22:39:20 +01:00
parent 4de4a4ce89
commit 5c0ff4a412
2 changed files with 1 additions and 5 deletions

View File

@ -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 {

View File

@ -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