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