9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-29 20:09:13 +00:00

Fixed hex colors not working in some places

This commit is contained in:
HeroBrineGoat
2021-11-12 14:30:46 -05:00
parent 8220473836
commit 07de0c4068
5 changed files with 20 additions and 10 deletions

View File

@@ -98,11 +98,10 @@ public class ItemBuilder {
if (this.itemMeta == null) {
return this;
}
final String name = StringUtils.
applyPlaceholders(this.itemMeta.getDisplayName(), placeholders);
this.itemMeta.displayName(
Adventure.MINI_MESSAGE.parse(
name));
this.itemMeta.setDisplayName(name);
return this;
}