From ba758312c05f3b69023960dad535c047199b00b3 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Sun, 15 Aug 2021 20:12:54 +0100 Subject: [PATCH] Fixed the fix for the fix --- .../java/com/willfp/ecoenchants/display/EnchantmentCache.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/display/EnchantmentCache.java b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/display/EnchantmentCache.java index 556ec93d..c31598f5 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/display/EnchantmentCache.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/display/EnchantmentCache.java @@ -298,12 +298,11 @@ public class EnchantmentCache { if (enchantment instanceof EcoEnchant enchant) { List levelDesc = new ArrayList<>(); List defDesc = enchant.getWrappedDescription(); - defDesc.replaceAll(line -> line.replace("§r", "§r" + PLUGIN.getDisplayModule().getOptions().getDescriptionOptions().getColor())); + defDesc.replaceAll(line -> line.replace("&r", "&r" + PLUGIN.getDisplayModule().getOptions().getDescriptionOptions().getColor())); defDesc.replaceAll(line -> Display.PREFIX + PLUGIN.getDisplayModule().getOptions().getDescriptionOptions().getColor() + line); for (String s : defDesc) { levelDesc.add(s.replace("%value%", enchant.getPlaceholder(level))); } - levelDesc = StringUtils.formatList(levelDesc); this.description.put( level,