mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 22:16:08 +00:00
Update language files with new strings and fix some formatting
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user