mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-21 14:55:17 +01:00
Small cleanups
This commit is contained in:
parent
4de4a4ce89
commit
5c0ff4a412
@ -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 {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user