Migrations

This commit is contained in:
Auxilor 2023-03-28 14:35:33 +01:00
parent 88a306e7e2
commit 0accf9ab2b
2 changed files with 6 additions and 2 deletions

View File

@ -58,6 +58,10 @@ interface EcoEnchantLike {
) )
} }
override fun addInjectablePlaceholder(p0: MutableIterable<InjectablePlaceholder>) {
// Do nothing
}
override fun clearInjectedPlaceholders() { override fun clearInjectedPlaceholders() {
// Do nothing // Do nothing
} }

View File

@ -282,9 +282,9 @@ object EnchantLookup {
return this.getActiveEnchantLevelInSlot(enchant, slot) > 0 return this.getActiveEnchantLevelInSlot(enchant, slot) > 0
} }
val Player.heldEnchantLevels: List<ProvidedHolder<ItemStack>> val Player.heldEnchantLevels: List<ItemProvidedHolder>
get() { get() {
val found = mutableListOf<ProvidedHolder<ItemStack>>() val found = mutableListOf<ItemProvidedHolder>()
for ((slot, enchants) in this.heldEnchantsInSlots) { for ((slot, enchants) in this.heldEnchantsInSlots) {
for ((enchant, level) in enchants) { for ((enchant, level) in enchants) {