mirror of
https://github.com/Zrips/Jobs.git
synced 2025-02-18 05:11:32 +01:00
Added job color to GUI
This commit is contained in:
parent
9a46ada423
commit
fa42da24b5
@ -147,7 +147,7 @@ public class GuiManager {
|
||||
ItemStack GuiItem = job.getGuiItem();
|
||||
|
||||
ItemMeta meta = GuiItem.getItemMeta();
|
||||
meta.setDisplayName(job.getName());
|
||||
meta.setDisplayName(job.getChatColor()+job.getName());
|
||||
meta.setLore(Lore);
|
||||
GuiItem.setItemMeta(meta);
|
||||
|
||||
@ -236,7 +236,7 @@ public class GuiManager {
|
||||
y++;
|
||||
}
|
||||
ItemMeta meta = GuiItem.getItemMeta();
|
||||
meta.setDisplayName(job.getName());
|
||||
meta.setDisplayName(job.getChatColor()+job.getName());
|
||||
meta.setLore(Lore);
|
||||
GuiItem.setItemMeta(meta);
|
||||
//GuiInv.setItem(i, GuiItem);
|
||||
|
Loading…
Reference in New Issue
Block a user