Get correct override creation string, fixes #1160

This commit is contained in:
PikaMug 2020-04-02 21:25:28 -04:00
parent 8dc766837a
commit 0b68860e34
3 changed files with 7 additions and 7 deletions

View File

@ -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");

View File

@ -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");

View File

@ -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");