From 0b68860e34b95e7733a42942a0009f1707ee8add Mon Sep 17 00:00:00 2001 From: PikaMug <2267126+PikaMug@users.noreply.github.com> Date: Thu, 2 Apr 2020 21:25:28 -0400 Subject: [PATCH] Get correct override creation string, fixes #1160 --- .../quests/convo/quests/prompts/RequirementsPrompt.java | 4 ++-- .../quests/convo/quests/prompts/RewardsPrompt.java | 4 ++-- .../quests/convo/quests/prompts/StageMainPrompt.java | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/main/src/main/java/me/blackvein/quests/convo/quests/prompts/RequirementsPrompt.java b/main/src/main/java/me/blackvein/quests/convo/quests/prompts/RequirementsPrompt.java index 2de2fe525..77ab0dbd6 100644 --- a/main/src/main/java/me/blackvein/quests/convo/quests/prompts/RequirementsPrompt.java +++ b/main/src/main/java/me/blackvein/quests/convo/quests/prompts/RequirementsPrompt.java @@ -139,9 +139,9 @@ public class RequirementsPrompt extends QuestsEditorNumericPrompt { return ChatColor.DARK_PURPLE + Lang.get("reqSetCustom"); case 10: if (!hasRequirement) { - return ChatColor.GRAY + Lang.get("overrideCreateAdd"); + return ChatColor.GRAY + Lang.get("overrideCreateSet"); } else { - return ChatColor.YELLOW + Lang.get("overrideCreateAdd"); + return ChatColor.YELLOW + Lang.get("overrideCreateSet"); } case 11: return ChatColor.YELLOW + Lang.get("done"); diff --git a/main/src/main/java/me/blackvein/quests/convo/quests/prompts/RewardsPrompt.java b/main/src/main/java/me/blackvein/quests/convo/quests/prompts/RewardsPrompt.java index 3596c60c2..bd5990ae6 100644 --- a/main/src/main/java/me/blackvein/quests/convo/quests/prompts/RewardsPrompt.java +++ b/main/src/main/java/me/blackvein/quests/convo/quests/prompts/RewardsPrompt.java @@ -151,9 +151,9 @@ public class RewardsPrompt extends QuestsEditorNumericPrompt { return ChatColor.DARK_PURPLE + Lang.get("rewSetCustom"); case 11: if (!hasReward) { - return ChatColor.GRAY + Lang.get("overrideCreateAdd"); + return ChatColor.GRAY + Lang.get("overrideCreateSet"); } else { - return ChatColor.YELLOW + Lang.get("overrideCreateAdd"); + return ChatColor.YELLOW + Lang.get("overrideCreateSet"); } case 12: return ChatColor.YELLOW + Lang.get("done"); diff --git a/main/src/main/java/me/blackvein/quests/convo/quests/prompts/StageMainPrompt.java b/main/src/main/java/me/blackvein/quests/convo/quests/prompts/StageMainPrompt.java index 031b9b5f3..d2e71cc25 100644 --- a/main/src/main/java/me/blackvein/quests/convo/quests/prompts/StageMainPrompt.java +++ b/main/src/main/java/me/blackvein/quests/convo/quests/prompts/StageMainPrompt.java @@ -194,12 +194,12 @@ public class StageMainPrompt extends QuestsEditorNumericPrompt { case 14: if (context.getSessionData(stagePrefix + CK.S_OVERRIDE_DISPLAY) == null) { if (!hasObjective) { - return ChatColor.GRAY + Lang.get("overrideCreateAdd"); + return ChatColor.GRAY + Lang.get("overrideCreateSet"); } else { - return ChatColor.YELLOW + Lang.get("overrideCreateAdd"); + return ChatColor.YELLOW + Lang.get("overrideCreateSet"); } } else { - return ChatColor.YELLOW + Lang.get("overrideCreateAdd"); + return ChatColor.YELLOW + Lang.get("overrideCreateSet"); } case 15: return ChatColor.RED + Lang.get("stageEditorDelete");