Changed default special gradient

This commit is contained in:
Auxilor 2021-07-30 00:33:32 +01:00
parent a0ef0b41e1
commit 34901e8929
2 changed files with 5 additions and 2 deletions

View File

@ -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));
}

View File

@ -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"