style(gui): update structure
This commit is contained in:
parent
e398da4039
commit
8abd2f8559
2 changed files with 11 additions and 12 deletions
|
@ -10,12 +10,10 @@ import org.bukkit.entity.Player;
|
||||||
public class AdminPanelGUI {
|
public class AdminPanelGUI {
|
||||||
private final Player player;
|
private final Player player;
|
||||||
private final GUI gui;
|
private final GUI gui;
|
||||||
private String[] structureIngredients = new String[]{"# # # # # # # # #",
|
private String[] structureIngredients = new String[]
|
||||||
"# % % % % % % % #",
|
{"# # # # # # # # #",
|
||||||
"# % # # B # # % #",
|
"# % % M C R % % #",
|
||||||
"# % # N A S # % #",
|
"E # # # # # # # #"};
|
||||||
"# % % % % % % % #",
|
|
||||||
"E # # # # # # # #"};
|
|
||||||
|
|
||||||
public AdminPanelGUI(Player player) {
|
public AdminPanelGUI(Player player) {
|
||||||
this.gui = new GUIBuilder<>(GUIType.NORMAL)
|
this.gui = new GUIBuilder<>(GUIType.NORMAL)
|
||||||
|
|
|
@ -11,12 +11,13 @@ import org.bukkit.entity.Player;
|
||||||
public class MainGUI {
|
public class MainGUI {
|
||||||
private final Player player;
|
private final Player player;
|
||||||
private final GUI gui;
|
private final GUI gui;
|
||||||
private final String[] structureIngredients = new String[]{"# # # # # # # # #",
|
private final String[] structureIngredients = new String[]
|
||||||
"# % % % % % % % #",
|
{"# # # # # # # # #",
|
||||||
"# % # # B # # % #",
|
"# % % % % % % % #",
|
||||||
"# % # N A S # % #",
|
"# % # # B # # % #",
|
||||||
"# % % % % % % % #",
|
"# % # N A S # % #",
|
||||||
"E # # # # # # # #"};
|
"# % % % % % % % #",
|
||||||
|
"E # # # # # # # #"};
|
||||||
|
|
||||||
public MainGUI(Player player) {
|
public MainGUI(Player player) {
|
||||||
if (!player.hasPermission("nicko.admin") || !player.isOp()) {
|
if (!player.hasPermission("nicko.admin") || !player.isOp()) {
|
||||||
|
|
Loading…
Reference in a new issue