Fixed weird header display in Settings Panel

This commit is contained in:
Florian CUNY 2018-09-01 17:38:54 +02:00
parent d05582fd79
commit 5ad363ca11

View File

@ -67,7 +67,7 @@ public class SettingsPanel {
for (int i = 0; i < 9; i++) { for (int i = 0; i < 9; i++) {
if (!panelBuilder.slotOccupied(i)) { if (!panelBuilder.slotOccupied(i)) {
panelBuilder.item(new PanelItemBuilder().icon(Material.LIGHT_GRAY_STAINED_GLASS_PANE).name("").build()); panelBuilder.item(i, new PanelItemBuilder().icon(Material.LIGHT_GRAY_STAINED_GLASS_PANE).name(" ").build());
} }
} }
} }