From 71f60acff50b5bc819dff1e59e49944f60e0abb0 Mon Sep 17 00:00:00 2001 From: HappyPikachu Date: Thu, 24 Aug 2017 20:54:51 -0400 Subject: [PATCH] Update quest accept prompt, per #92 --- .../java/me/blackvein/quests/prompts/QuestAcceptPrompt.java | 2 +- src/main/java/me/blackvein/quests/util/Lang.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/me/blackvein/quests/prompts/QuestAcceptPrompt.java b/src/main/java/me/blackvein/quests/prompts/QuestAcceptPrompt.java index c2d62f092..71d1d12d7 100644 --- a/src/main/java/me/blackvein/quests/prompts/QuestAcceptPrompt.java +++ b/src/main/java/me/blackvein/quests/prompts/QuestAcceptPrompt.java @@ -38,7 +38,7 @@ public class QuestAcceptPrompt extends StringPrompt { for (int i = 1; i <= quests.size(); i++) { Quest quest = quests.get(i - 1); if (quester.completedQuests.contains(quest.getName())) { - menu += ChatColor.DARK_GREEN + "" + ChatColor.BOLD + "" + i + ". " + ChatColor.RESET + "" + ChatColor.GREEN + "" + ChatColor.ITALIC + quest.getName() + ChatColor.RESET + "" + ChatColor.GREEN + " (" + Lang.get("completed") + ")\n"; + menu += ChatColor.DARK_GREEN + "" + ChatColor.BOLD + "" + i + ". " + ChatColor.RESET + "" + ChatColor.GREEN + "" + ChatColor.ITALIC + quest.getName() + ChatColor.RESET + "" + ChatColor.GREEN + " (" + Lang.get("repeatable") + ")\n"; } else { menu += ChatColor.GOLD + "" + ChatColor.BOLD + "" + i + ". " + ChatColor.RESET + "" + ChatColor.YELLOW + "" + ChatColor.ITALIC + quest.getName() + "\n"; } diff --git a/src/main/java/me/blackvein/quests/util/Lang.java b/src/main/java/me/blackvein/quests/util/Lang.java index e063aa3fd..e267d0ad3 100644 --- a/src/main/java/me/blackvein/quests/util/Lang.java +++ b/src/main/java/me/blackvein/quests/util/Lang.java @@ -753,6 +753,7 @@ public class Lang { langMap.put("shearSheep", "Shear sheep"); langMap.put("goTo", "Go to "); langMap.put("completed", "Completed"); + langMap.put("repeatable", "Repeatable"); // langMap.put("invalidSelection", "Invalid selection!"); langMap.put("noActiveQuest", "You do not currently have any active Quests.");