mirror of
https://github.com/Auxilor/EcoArmor.git
synced 2025-12-27 02:49:22 +00:00
Added update-item-names option
This commit is contained in:
@@ -59,7 +59,9 @@ class ArmorDisplay(plugin: EcoPlugin) : DisplayModule(plugin, DisplayPriority.LO
|
||||
lore.addAll(fis.lore)
|
||||
}
|
||||
|
||||
meta.setDisplayName(slotMeta.displayName)
|
||||
if (this.plugin.configYml.getBool("update-item-names")) {
|
||||
meta.setDisplayName(slotMeta.displayName)
|
||||
}
|
||||
|
||||
if (meta is LeatherArmorMeta && slotMeta is LeatherArmorMeta) {
|
||||
meta.setColor(slotMeta.color)
|
||||
|
||||
@@ -4,6 +4,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)
|
||||
|
||||
cooldown:
|
||||
in-actionbar: true
|
||||
|
||||
Reference in New Issue
Block a user