Recolor duplicate custom messages

This commit is contained in:
PikaMug 2021-12-29 08:26:12 -05:00
parent a2bc97dfa0
commit 513a4e8be0
3 changed files with 5 additions and 5 deletions

View File

@ -1542,7 +1542,7 @@ public class RequirementsPrompt extends QuestsEditorNumericPrompt {
context.setSessionData(CK.REQ_CUSTOM_DATA, dataMapList);
} else {
// Already added, so inform user
context.getForWhom().sendRawMessage(ChatColor.YELLOW + Lang.get("reqCustomAlreadyAdded"));
context.getForWhom().sendRawMessage(ChatColor.RED + Lang.get("reqCustomAlreadyAdded"));
return new CustomRequirementsPrompt(moduleName, context);
}
} else {

View File

@ -1927,7 +1927,7 @@ public class RewardsPrompt extends QuestsEditorNumericPrompt {
context.setSessionData(CK.REW_CUSTOM_DATA, dataMapList);
} else {
// Already added, so inform user
context.getForWhom().sendRawMessage(ChatColor.YELLOW + Lang.get("rewCustomAlreadyAdded"));
context.getForWhom().sendRawMessage(ChatColor.RED + Lang.get("rewCustomAlreadyAdded"));
return new CustomRewardsPrompt(moduleName, context);
}
} else {

View File

@ -2517,7 +2517,7 @@ public class StageMainPrompt extends QuestsEditorNumericPrompt {
context.setSessionData(stagePrefix + CK.S_CUSTOM_OBJECTIVES_DATA, dataMapList);
} else {
// Already added, so inform user
context.getForWhom().sendRawMessage(ChatColor.YELLOW
context.getForWhom().sendRawMessage(ChatColor.RED
+ Lang.get("stageEditorCustomAlreadyAdded"));
return new CustomObjectivesPrompt(moduleName, context);
}