mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-21 14:55:17 +01:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
5e56d6ad45
@ -80,7 +80,10 @@ class EcoEnchantsPlugin : LibReforgePlugin() {
|
||||
)
|
||||
}
|
||||
|
||||
override fun createDisplayModule(): DisplayModule {
|
||||
override fun createDisplayModule(): DisplayModule? {
|
||||
if (configYml.getBoolOrNull("display.enabled") == false) {
|
||||
return null
|
||||
}
|
||||
return EnchantDisplay(this)
|
||||
}
|
||||
|
||||
|
@ -31,6 +31,8 @@ anvil:
|
||||
|
||||
# Options for how enchantments are displayed on items
|
||||
display:
|
||||
enabled: true # Setting this to false will disable all visual item modifications
|
||||
|
||||
numerals:
|
||||
enabled: true # If numerals should be used for the enchantment levels
|
||||
threshold: 10 # Above this, numbers will be used instead of numerals
|
||||
|
Loading…
Reference in New Issue
Block a user