mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Fixed confirm delete-all homes/warps button tooltip missing
This commit is contained in:
1 parent
63521a401f
commit
73fbefde8c
1 file changed
+1
-1
@@ -82,7 +82,7 @@ public class SettingHandler {
|
||||
BaseComponent[] buttonComponents = new MineDown(MessageManager.getRawMessage("delete_confirmation_button")).urlDetection(false).toComponent();
|
||||
for (BaseComponent baseComponent : buttonComponents) {
|
||||
baseComponent.setClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, ("/huskhomes:" + commandType + " all confirm")));
|
||||
baseComponent.setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new Text(new ComponentBuilder("delete_confirmation_button_tooltip").color(ChatColor.RED).italic(false).create())));
|
||||
baseComponent.setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new Text(new ComponentBuilder(MessageManager.getRawMessage("delete_confirmation_button_tooltip")).color(ChatColor.RED).italic(false).create())));
|
||||
}
|
||||
return buttonComponents;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user