mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-02-22 05:31:27 +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() {
|
override fun clearInjectedPlaceholders() {
|
||||||
// Do nothing
|
// Do nothing
|
||||||
}
|
}
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user