Update language files with new strings and fix some formatting

This commit is contained in:
William278 committed 2021-03-27 12:48:56 +00:00
1 parent 668e02d2b4
commit 3ff179ef76
8 files changed
+44 -11

No files matched your search

@@ -94,7 +94,7 @@ public class SettingHandler {
// Send Confirm button
player.spigot().sendMessage(new ComponentBuilder()
.append(new TextComponent(MessageManager.getRawMessage("option_selection_prompt")), ComponentBuilder.FormatRetention.NONE)
.append(new MineDown(MessageManager.getRawMessage("option_selection_prompt")).toComponent(), ComponentBuilder.FormatRetention.NONE)
.append(deletionConfirmationButton("del" + deletionType), ComponentBuilder.FormatRetention.NONE).create());
}
@@ -52,9 +52,7 @@ public class TeleportRequestHandler {
public static void sendTpAcceptDenyButtons(Player p) {
// Send the "Accept" or "Decline" response buttons to the player who has received a request
// Options text
TextComponent options = new TextComponent(MessageManager.getRawMessage("option_selection_prompt"));
options.setColor(ChatColor.GRAY);
BaseComponent[] options = new MineDown(MessageManager.getRawMessage("option_selection_prompt")).toComponent();
BaseComponent[] divider = new MineDown(MessageManager.getRawMessage("list_item_divider")).urlDetection(false).toComponent();
// Build the components together