feat: clean admin gui
This commit is contained in:
parent
7277a86e7f
commit
bc0a8a6c7e
1 changed files with 1 additions and 5 deletions
|
@ -14,7 +14,7 @@ public class AdminPanelGUI {
|
||||||
|
|
||||||
public AdminPanelGUI(Player player) {
|
public AdminPanelGUI(Player player) {
|
||||||
final Structure structure = new Structure("# # # # # # # # #",
|
final Structure structure = new Structure("# # # # # # # # #",
|
||||||
"# % % P U # % % #",
|
"# % % X X X % % #",
|
||||||
"B # # # # # # # #");
|
"B # # # # # # # #");
|
||||||
structure.addIngredient('B', new BackItem(new MainGUI(player).getGUI()));
|
structure.addIngredient('B', new BackItem(new MainGUI(player).getGUI()));
|
||||||
this.gui = new GUIBuilder<>(GUIType.NORMAL)
|
this.gui = new GUIBuilder<>(GUIType.NORMAL)
|
||||||
|
@ -23,10 +23,6 @@ public class AdminPanelGUI {
|
||||||
this.player = player;
|
this.player = player;
|
||||||
}
|
}
|
||||||
|
|
||||||
public GUI getGUI() {
|
|
||||||
return gui;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void open() {
|
public void open() {
|
||||||
new SimpleWindow(player, "Nicko", gui).show();
|
new SimpleWindow(player, "Nicko", gui).show();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue