mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-01-01 05:57:54 +01:00
Removed the help item from the SettingsPanel
This commit is contained in:
parent
08e11e90fa
commit
caa2501968
@ -20,14 +20,6 @@ public class SettingsPanel {
|
||||
PanelBuilder panelBuilder = new PanelBuilder()
|
||||
.name(user.getTranslation("protection.panel.title"));
|
||||
|
||||
// Make the help item
|
||||
PanelItem help = new PanelItemBuilder()
|
||||
.name(user.getTranslation("protection.panel.help-item.name"))
|
||||
.icon("MHF_Question") // Question marks
|
||||
.build();
|
||||
// Place it at position 8 (end of first row)
|
||||
panelBuilder.item(8, help);
|
||||
|
||||
// Add flags after position 8, i.e., from second row
|
||||
plugin.getFlagsManager().getFlags().forEach((f -> panelBuilder.item(f.toPanelItem(plugin, user))));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user