mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-22 15:05:18 +01:00
Fixed description wrapping
This commit is contained in:
parent
3b94288434
commit
7a2aa52813
@ -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<>();
|
||||
|
Loading…
Reference in New Issue
Block a user