mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-21 14:55:17 +01:00
Updated eco
This commit is contained in:
parent
4cb60c49b9
commit
35260fd9a1
@ -51,7 +51,7 @@ allprojects {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly("com.willfp:eco:6.71.0")
|
compileOnly("com.willfp:eco:6.73.0")
|
||||||
compileOnly("org.jetbrains:annotations:23.0.0")
|
compileOnly("org.jetbrains:annotations:23.0.0")
|
||||||
compileOnly("org.jetbrains.kotlin:kotlin-stdlib:1.9.20")
|
compileOnly("org.jetbrains.kotlin:kotlin-stdlib:1.9.20")
|
||||||
compileOnly("com.github.ben-manes.caffeine:caffeine:3.1.5")
|
compileOnly("com.github.ben-manes.caffeine:caffeine:3.1.5")
|
||||||
|
@ -142,9 +142,13 @@ class EcoEnchantsPlugin : LibreforgePlugin() {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun createDisplayModule(): DisplayModule? {
|
override fun loadDisplayModules(): List<DisplayModule> {
|
||||||
return if (configYml.getBool("display.enabled")) {
|
if (!this.configYml.getBool("display.enabled")) {
|
||||||
|
return emptyList()
|
||||||
|
}
|
||||||
|
|
||||||
|
return listOf(
|
||||||
EnchantDisplay(this)
|
EnchantDisplay(this)
|
||||||
} else null
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user