mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-02-17 04:41:21 +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);
|
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);
|
description.replaceAll(line -> Display.PREFIX + PLUGIN.getDisplayModule().getOptions().getDescriptionOptions().getColor() + line);
|
||||||
|
|
||||||
Map<Integer, List<String>> levelDescription = new HashMap<>();
|
Map<Integer, List<String>> levelDescription = new HashMap<>();
|
||||||
|
Loading…
Reference in New Issue
Block a user