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 {
|
||||
private final Player player;
|
||||
private final GUI gui;
|
||||
private String[] structureIngredients = new String[]{"# # # # # # # # #",
|
||||
"# % % % % % % % #",
|
||||
"# % # # B # # % #",
|
||||
"# % # N A S # % #",
|
||||
"# % % % % % % % #",
|
||||
"E # # # # # # # #"};
|
||||
private String[] structureIngredients = new String[]
|
||||
{"# # # # # # # # #",
|
||||
"# % % M C R % % #",
|
||||
"E # # # # # # # #"};
|
||||
|
||||
public AdminPanelGUI(Player player) {
|
||||
this.gui = new GUIBuilder<>(GUIType.NORMAL)
|
||||
|
|
|
@ -11,12 +11,13 @@ import org.bukkit.entity.Player;
|
|||
public class MainGUI {
|
||||
private final Player player;
|
||||
private final GUI gui;
|
||||
private final String[] structureIngredients = new String[]{"# # # # # # # # #",
|
||||
"# % % % % % % % #",
|
||||
"# % # # B # # % #",
|
||||
"# % # N A S # % #",
|
||||
"# % % % % % % % #",
|
||||
"E # # # # # # # #"};
|
||||
private final String[] structureIngredients = new String[]
|
||||
{"# # # # # # # # #",
|
||||
"# % % % % % % % #",
|
||||
"# % # # B # # % #",
|
||||
"# % # N A S # % #",
|
||||
"# % % % % % % % #",
|
||||
"E # # # # # # # #"};
|
||||
|
||||
public MainGUI(Player player) {
|
||||
if (!player.hasPermission("nicko.admin") || !player.isOp()) {
|
||||
|
|
Loading…
Reference in a new issue