mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-02-11 03:41:23 +01:00
Changed default special gradient
This commit is contained in:
parent
a0ef0b41e1
commit
34901e8929
@ -134,10 +134,13 @@ public class EnchantmentCache {
|
||||
|
||||
String rawName = name;
|
||||
if (color.contains("{}")) {
|
||||
name = StringUtils.format(color.replace("{}", name));
|
||||
name = color.replace("{}", name);
|
||||
} else {
|
||||
name = color + name;
|
||||
}
|
||||
|
||||
name = StringUtils.format(name);
|
||||
|
||||
description.replaceAll(line -> Display.PREFIX + PLUGIN.getDisplayModule().getOptions().getDescriptionOptions().getColor() + line);
|
||||
CACHE.put(enchantment.getKey(), new CacheEntry(enchantment, name, rawName, description, type, rarity));
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ no-conflicts: "&cNo conflicts"
|
||||
|
||||
curse-color: "&c"
|
||||
normal-color: "&7"
|
||||
special-color: "<gradient:f953c6>{}</gradient:b91d73>"
|
||||
special-color: "<gradient:FB57EC>{}</gradient:EF1DEC>&d"
|
||||
artifact-color: "&e"
|
||||
spell-color: "&9"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user