feat: clean admin gui

This commit is contained in:
aro 2023-01-14 23:33:14 +01:00
parent 7277a86e7f
commit bc0a8a6c7e

View file

@ -14,7 +14,7 @@ public class AdminPanelGUI {
public AdminPanelGUI(Player player) {
final Structure structure = new Structure("# # # # # # # # #",
"# % % P U # % % #",
"# % % X X X % % #",
"B # # # # # # # #");
structure.addIngredient('B', new BackItem(new MainGUI(player).getGUI()));
this.gui = new GUIBuilder<>(GUIType.NORMAL)
@ -23,10 +23,6 @@ public class AdminPanelGUI {
this.player = player;
}
public GUI getGUI() {
return gui;
}
public void open() {
new SimpleWindow(player, "Nicko", gui).show();
}