mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-24 11:45:31 +01:00
Fixed weird stained glass pane display in SettingsPanel
This commit is contained in:
parent
ea1fea66ff
commit
279dc6fbd8
@ -65,8 +65,10 @@ public class SettingsPanel {
|
||||
slot += 2;
|
||||
}
|
||||
|
||||
while(panelBuilder.nextSlot() < 9) {
|
||||
panelBuilder.item(new PanelItemBuilder().icon(new ItemStack(Material.LIGHT_BLUE_STAINED_GLASS_PANE, 1)).build());
|
||||
for (int i = 0; i < 9; i++) {
|
||||
if (!panelBuilder.slotOccupied(i)) {
|
||||
panelBuilder.item(new PanelItemBuilder().icon(Material.LIGHT_GRAY_STAINED_GLASS_PANE).name("").build());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user