Fix new line on some action prompts

This commit is contained in:
PikaMug 2022-03-11 18:53:00 -05:00
parent d38fad634f
commit ee82e62805
2 changed files with 2 additions and 2 deletions

View File

@ -981,7 +981,7 @@ public class ActionMainPrompt extends ActionsEditorNumericPrompt {
text.append("\n").append(ChatColor.AQUA).append("- ").append(s);
}
}
return text.toString() + ChatColor.YELLOW + getQueryText(context);
return text + "\n" + ChatColor.YELLOW + getQueryText(context);
}
@Override

View File

@ -321,7 +321,7 @@ public class WeatherPrompt extends ActionsEditorNumericPrompt {
effects.append("\n").append(w.getName()).append(", ");
}
effects = new StringBuilder(effects.substring(0, effects.length()));
return ChatColor.YELLOW + effects.toString() + getQueryText(context);
return effects + "\n" + ChatColor.YELLOW + getQueryText(context);
}
@Override