diff --git a/src/main/java/com/gamingmesh/jobs/Gui/GuiManager.java b/src/main/java/com/gamingmesh/jobs/Gui/GuiManager.java index d5ef99a5..5da029ca 100644 --- a/src/main/java/com/gamingmesh/jobs/Gui/GuiManager.java +++ b/src/main/java/com/gamingmesh/jobs/Gui/GuiManager.java @@ -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); @@ -221,7 +221,7 @@ public class GuiManager { if (z == info.size() - 1) continue; ItemMeta meta = GuiItem.getItemMeta(); - meta.setDisplayName(job.getName()); + meta.setDisplayName(job.getChatColor()+job.getName()); meta.setLore(Lore); GuiItem.setItemMeta(meta); //GuiInv.setItem(i, GuiItem); @@ -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); diff --git a/src/main/java/com/gamingmesh/jobs/Signs/SignUtil.java b/src/main/java/com/gamingmesh/jobs/Signs/SignUtil.java index c914aa98..67a6ea3d 100644 --- a/src/main/java/com/gamingmesh/jobs/Signs/SignUtil.java +++ b/src/main/java/com/gamingmesh/jobs/Signs/SignUtil.java @@ -158,6 +158,7 @@ public class SignUtil { line1 = line1.replace("[number]", String.valueOf(one.GetNumber() + number + 1)); line1 = line1.replace("[player]", PlayerName); line1 = line1.replace("[level]", String.valueOf(PlayerList.get(0).getLevel())); + line1 = line1.replace("[job]", JobName); sign.setLine(0, line1); @@ -165,6 +166,7 @@ public class SignUtil { line1 = line1.replace("[number]", String.valueOf(one.GetNumber() + number + 1)); line1 = line1.replace("[player]", PlayerName); line1 = line1.replace("[level]", String.valueOf(PlayerList.get(0).getLevel())); + line1 = line1.replace("[job]", JobName); sign.setLine(1, line1); @@ -172,6 +174,7 @@ public class SignUtil { line1 = line1.replace("[number]", String.valueOf(one.GetNumber() + number + 1)); line1 = line1.replace("[player]", PlayerName); line1 = line1.replace("[level]", String.valueOf(PlayerList.get(0).getLevel())); + line1 = line1.replace("[job]", JobName); sign.setLine(2, line1); @@ -179,6 +182,7 @@ public class SignUtil { line1 = line1.replace("[number]", String.valueOf(one.GetNumber() + number + 1)); line1 = line1.replace("[player]", PlayerName); line1 = line1.replace("[level]", String.valueOf(PlayerList.get(0).getLevel())); + line1 = line1.replace("[job]", JobName); sign.setLine(3, line1); sign.update();