Removed the help item from the SettingsPanel

This commit is contained in:
Florian CUNY 2018-06-02 22:01:05 +02:00
parent 08e11e90fa
commit caa2501968

View File

@ -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))));