Fixed description wrapping

This commit is contained in:
Auxilor 2021-08-04 19:10:00 +01:00
parent 3b94288434
commit 7a2aa52813

View File

@ -143,6 +143,7 @@ public class EnchantmentCache {
name = StringUtils.format(name);
description.replaceAll(line -> line.replace("§r", "§r" + PLUGIN.getDisplayModule().getOptions().getDescriptionOptions().getColor()));
description.replaceAll(line -> Display.PREFIX + PLUGIN.getDisplayModule().getOptions().getDescriptionOptions().getColor() + line);
Map<Integer, List<String>> levelDescription = new HashMap<>();