9
0
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:
Will FP
2022-11-23 13:36:44 +00:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@@ -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)
}

View File

@@ -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: