refactor(gui): item placement
This commit is contained in:
parent
378813c829
commit
119392320b
1 changed files with 3 additions and 3 deletions
|
@ -18,9 +18,9 @@ public class HomeGUI {
|
||||||
|
|
||||||
public HomeGUI(Player player) {
|
public HomeGUI(Player player) {
|
||||||
final String[] dynamicStructure = new String[]{
|
final String[] dynamicStructure = new String[]{
|
||||||
"# # # # # # # # P",
|
"# # # # # # # # #",
|
||||||
"# # # N B S # # #",
|
"A # # N B S # # #",
|
||||||
"E A # # # # # # R"};
|
"E P # # # # # # R"};
|
||||||
|
|
||||||
if (!player.isOp() || !player.hasPermission("nicko.admin")) {
|
if (!player.isOp() || !player.hasPermission("nicko.admin")) {
|
||||||
dynamicStructure[2] = dynamicStructure[2].replace("A", "#");
|
dynamicStructure[2] = dynamicStructure[2].replace("A", "#");
|
||||||
|
|
Loading…
Reference in a new issue