Address formatting problems in initial menu prompts

This commit is contained in:
PikaMug 2020-12-21 23:42:23 -05:00
parent 374b3b2f3d
commit 04621291de
2 changed files with 4 additions and 4 deletions

View File

@ -266,7 +266,7 @@ public class ConditionMenuPrompt extends ConditionsEditorNumericPrompt {
@Override
public String getQueryText(final ConversationContext context) {
return Lang.get("conditionEditorEnterQuestName");
return Lang.get("conditionEditorEnterName");
}
@Override

View File

@ -203,7 +203,7 @@ public class QuestMenuPrompt extends QuestsEditorNumericPrompt {
@Override
public String getTitle(final ConversationContext context) {
return Lang.get("questEditorEdit");
return Lang.get("questEditTitle");
}
@Override
@ -217,7 +217,7 @@ public class QuestMenuPrompt extends QuestsEditorNumericPrompt {
for (final Quest q : plugin.getQuests()) {
text += "\n" + ChatColor.GRAY + "- " + ChatColor.AQUA + q.getName();
}
return text + ChatColor.YELLOW + getQueryText(context);
return text + "\n" + ChatColor.YELLOW + getQueryText(context);
}
@Override
@ -253,7 +253,7 @@ public class QuestMenuPrompt extends QuestsEditorNumericPrompt {
@Override
public String getPromptText(final ConversationContext context) {
String text = ChatColor.GOLD + getTitle(context);
String text = ChatColor.GOLD + getTitle(context) + "\n";
for (final Quest quest : plugin.getQuests()) {
text += ChatColor.AQUA + quest.getName() + ChatColor.GRAY + ",";
}