mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-28 13:45:14 +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;
|
slot += 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
while(panelBuilder.nextSlot() < 9) {
|
for (int i = 0; i < 9; i++) {
|
||||||
panelBuilder.item(new PanelItemBuilder().icon(new ItemStack(Material.LIGHT_BLUE_STAINED_GLASS_PANE, 1)).build());
|
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