Skip to content

Commit

Permalink
Removed the help item from the SettingsPanel
Browse files Browse the repository at this point in the history
  • Loading branch information
Poslovitch committed Jun 2, 2018
1 parent 08e11e9 commit caa2501
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@ public static void openPanel(BSkyBlock plugin, User user) {
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))));

Expand Down

0 comments on commit caa2501

Please sign in to comment.