mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-02-21 05:21:22 +01:00
Migrations
This commit is contained in:
parent
88a306e7e2
commit
0accf9ab2b
@ -58,6 +58,10 @@ interface EcoEnchantLike {
|
||||
)
|
||||
}
|
||||
|
||||
override fun addInjectablePlaceholder(p0: MutableIterable<InjectablePlaceholder>) {
|
||||
// Do nothing
|
||||
}
|
||||
|
||||
override fun clearInjectedPlaceholders() {
|
||||
// Do nothing
|
||||
}
|
||||
|
@ -282,9 +282,9 @@ object EnchantLookup {
|
||||
return this.getActiveEnchantLevelInSlot(enchant, slot) > 0
|
||||
}
|
||||
|
||||
val Player.heldEnchantLevels: List<ProvidedHolder<ItemStack>>
|
||||
val Player.heldEnchantLevels: List<ItemProvidedHolder>
|
||||
get() {
|
||||
val found = mutableListOf<ProvidedHolder<ItemStack>>()
|
||||
val found = mutableListOf<ItemProvidedHolder>()
|
||||
|
||||
for ((slot, enchants) in this.heldEnchantsInSlots) {
|
||||
for ((enchant, level) in enchants) {
|
||||
|
Loading…
Reference in New Issue
Block a user