mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-04 14:38:53 +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();
|
BaseComponent[] buttonComponents = new MineDown(MessageManager.getRawMessage("delete_confirmation_button")).urlDetection(false).toComponent();
|
||||||
for (BaseComponent baseComponent : buttonComponents) {
|
for (BaseComponent baseComponent : buttonComponents) {
|
||||||
baseComponent.setClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, ("/huskhomes:" + commandType + " all confirm")));
|
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;
|
return buttonComponents;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user