mirror of
https://github.com/PikaMug/Quests.git
synced 2024-09-09 14:08:02 +02:00
Address formatting problems in initial menu prompts
This commit is contained in:
parent
374b3b2f3d
commit
04621291de
@ -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
|
||||
|
@ -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 + ",";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user