diff --git a/src/main/java/space/yurisi/universecorev2/menu/MainMenu.java b/src/main/java/space/yurisi/universecorev2/menu/MainMenu.java index 4c9bade0..8e545237 100644 --- a/src/main/java/space/yurisi/universecorev2/menu/MainMenu.java +++ b/src/main/java/space/yurisi/universecorev2/menu/MainMenu.java @@ -65,12 +65,16 @@ public void sendMenu(Player player) { .setDisplayName("弾薬") .setLegacyLore(List.of("§6弾薬を購入・クラフトします")), "/ammo"); + Item executeReceive = new CommandItem(new ItemBuilder(Material.CHEST) + .setDisplayName("報酬受け取り") + .setLegacyLore(List.of("§6報酬受け取りメニューを開きます")), + "/receive"); Gui gui = Gui.normal() .setStructure( "# # # i # = # # #", "# + a m t o y + #", - "# + + n s h + + #", + "# + + n s h p + #", "# # # # l # # # #" ) .addIngredient('#', border) @@ -85,6 +89,7 @@ public void sendMenu(Player player) { .addIngredient('s', executeTrash) .addIngredient('h', executeHead) .addIngredient('o', executeAmmo) + .addIngredient('p', executeReceive) .addIngredient('l', new LaunchNavigationItem()) .build();