diff --git a/pom.xml b/pom.xml index 3b6bf7370..250e78382 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ me.blackvein.quests quests - 3.0.3 + 3.0.4 quests https://github.com/FlyingPikachu/Quests/ jar diff --git a/src/main/java/me/blackvein/quests/Quester.java b/src/main/java/me/blackvein/quests/Quester.java index ab70dd0f8..2bb4aac19 100644 --- a/src/main/java/me/blackvein/quests/Quester.java +++ b/src/main/java/me/blackvein/quests/Quester.java @@ -2502,7 +2502,12 @@ public class Quester { if (quests.get(i).guiDisplay != null) { ItemStack display = quests.get(i).guiDisplay; ItemMeta meta = display.getItemMeta(); - meta.setDisplayName(ChatColor.DARK_PURPLE + Quests.parseString(quests.get(i).getName(), npc)); + if (completedQuests.contains(quests.get(i).name)) { + meta.setDisplayName(ChatColor.DARK_PURPLE + Quests.parseString(quests.get(i).getName() + + " " + ChatColor.GREEN + Lang.get("completedTag"), npc)); + } else { + meta.setDisplayName(ChatColor.DARK_PURPLE + Quests.parseString(quests.get(i).getName(), npc)); + } if (!meta.hasLore()) { LinkedList lines = new LinkedList(); String desc = quests.get(i).description;