Cleanup + Clarification
This commit is contained in:
@@ -81,10 +81,9 @@ class EcoEnchantsPlugin : LibReforgePlugin() {
|
||||
}
|
||||
|
||||
override fun createDisplayModule(): DisplayModule? {
|
||||
if (configYml.getBoolOrNull("display.enabled") == false) {
|
||||
return null
|
||||
}
|
||||
return EnchantDisplay(this)
|
||||
return if (configYml.getBool("display.enabled")) {
|
||||
EnchantDisplay(this)
|
||||
} else null
|
||||
}
|
||||
|
||||
companion object {
|
||||
|
||||
@@ -31,7 +31,7 @@ anvil:
|
||||
|
||||
# Options for how enchantments are displayed on items
|
||||
display:
|
||||
enabled: true # Setting this to false will disable all visual item modifications
|
||||
enabled: true # If you disable display, enchantments will not show up on items. Only disable if you are handling display elsewhere.
|
||||
|
||||
numerals:
|
||||
enabled: true # If numerals should be used for the enchantment levels
|
||||
|
||||
Reference in New Issue
Block a user