mirror of
https://github.com/Auxilor/EcoArmor.git
synced 2025-12-28 19:39:13 +00:00
Merge pull request #45 from 0ft3n/master
Added update-leather-colors: true/false config option
This commit is contained in:
@@ -86,7 +86,8 @@ class ArmorDisplay(plugin: EcoPlugin) : DisplayModule(plugin, DisplayPriority.LO
|
||||
meta.setDisplayName(slotMeta.displayName)
|
||||
}
|
||||
|
||||
if (meta is LeatherArmorMeta && slotMeta is LeatherArmorMeta) {
|
||||
if (meta is LeatherArmorMeta && slotMeta is LeatherArmorMeta
|
||||
&& this.plugin.configYml.getBool("update-leather-colors")) {
|
||||
meta.setColor(slotMeta.color)
|
||||
}
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
discover-recipes: true # If all recipes should be automatically discovered.
|
||||
update-item-names: true # If item names should be updated to match config (disable to allow renaming armor pieces in anvils)
|
||||
update-leather-colors: true # If leather colors should be updated to match config
|
||||
advanced-lore-only: false # If advanced armor should only show the advanced lore
|
||||
|
||||
cooldown:
|
||||
|
||||
Reference in New Issue
Block a user