mirror of
https://github.com/arcadiadevs/hubcore.git
synced 2024-11-22 06:15:14 +01:00
Merge branch 'master' of https://github.com/arcadiadevs/hubcore
This commit is contained in:
commit
e583bb2d59
@ -86,6 +86,13 @@ public class GUIUtils {
|
||||
.build();
|
||||
|
||||
menu.setButton(0, 13, new SGButton(itemCreate).withListener(listener -> BungeeUtil.createServer(listener, player, player.getDisplayName())));
|
||||
|
||||
for (int i = 0; i < 9 * 4; i++) {
|
||||
if (menu.getButton(i) == null) {
|
||||
menu.setButton(i, new SGButton(new ItemBuilder(XMaterial.GRAY_STAINED_GLASS_PANE.parseItem()).name(" ").build()));
|
||||
}
|
||||
}
|
||||
|
||||
Bukkit.getScheduler().runTask(PSHubCore.getInstance(), () -> player.openInventory(menu.getInventory()));
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user