mirror of
https://github.com/PikaMug/Quests.git
synced 2024-12-28 20:18:32 +01:00
Get correct override creation string, fixes #1160
This commit is contained in:
parent
8dc766837a
commit
0b68860e34
@ -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");
|
||||
|
@ -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");
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user