mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35:51 +00:00
Update AncientAltarListener.java
This commit is contained in:
parent
0a5c9e901e
commit
5656a0564f
@ -149,7 +149,7 @@ public class AncientAltarListener implements Listener {
|
||||
}
|
||||
else {
|
||||
ItemMeta im = stack.getItemMeta();
|
||||
if (!customName.startsWith(ChatColor.COLOR_CHAR)) customName = ChatColor.RESET + customName;
|
||||
if (!customName.startsWith(String.valueOf(ChatColor.COLOR_CHAR))) customName = ChatColor.RESET + customName;
|
||||
im.setDisplayName(customName);
|
||||
stack.setItemMeta(im);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user