diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoarmor/display/ArmorDisplay.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoarmor/display/ArmorDisplay.kt index 95e81b9..46b6de3 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoarmor/display/ArmorDisplay.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoarmor/display/ArmorDisplay.kt @@ -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) } diff --git a/eco-core/core-plugin/src/main/resources/config.yml b/eco-core/core-plugin/src/main/resources/config.yml index 24e7005..d170d37 100644 --- a/eco-core/core-plugin/src/main/resources/config.yml +++ b/eco-core/core-plugin/src/main/resources/config.yml @@ -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: