mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-04 22:16:22 +00:00
Fix unclickable home privacy toggle button
This commit is contained in:
1 parent
6cba6f866b
commit
374115c68b
1 file changed
+5
-3
@@ -326,9 +326,11 @@ public class EditHomeCommand extends CommandBase implements TabCompletable, Cons
|
|||||||
formattedName)
|
formattedName)
|
||||||
.ifPresent(this::add);
|
.ifPresent(this::add);
|
||||||
}
|
}
|
||||||
plugin.getLocales().getRawLocale("edit_home_menu_manage_buttons",
|
final String escapedName = Locales.escapeMineDown(formattedName);
|
||||||
Locales.escapeMineDown(formattedName), showPrivacyToggleButton ? plugin.getLocales()
|
plugin.getLocales().getRawLocale("edit_home_menu_manage_buttons", escapedName,
|
||||||
.getRawLocale("edit_home_menu_toggle_privacy_button").orElse("") : "")
|
showPrivacyToggleButton ? plugin.getLocales()
|
||||||
|
.getRawLocale("edit_home_menu_toggle_privacy_button", escapedName)
|
||||||
|
.orElse("") : "")
|
||||||
.map(MineDown::new).ifPresent(this::add);
|
.map(MineDown::new).ifPresent(this::add);
|
||||||
plugin.getLocales().getLocale("edit_home_menu_meta_edit_buttons",
|
plugin.getLocales().getLocale("edit_home_menu_meta_edit_buttons",
|
||||||
formattedName)
|
formattedName)
|
||||||
|
|||||||
Reference in new issue
Block a user