From f1a191ec8e4bd253a9b82a14aadd2a9bfc61a7de Mon Sep 17 00:00:00 2001 From: DocSystem <42613513+DocSystem@users.noreply.github.com> Date: Mon, 5 Dec 2022 15:55:14 +0100 Subject: [PATCH 1/2] Add new menu items (mini-games) and remove modded server --- .../java/fr/efreicraft/eclobby/listeners/MenuGUI.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/main/java/fr/efreicraft/eclobby/listeners/MenuGUI.java b/src/main/java/fr/efreicraft/eclobby/listeners/MenuGUI.java index 8e5605d..607247d 100644 --- a/src/main/java/fr/efreicraft/eclobby/listeners/MenuGUI.java +++ b/src/main/java/fr/efreicraft/eclobby/listeners/MenuGUI.java @@ -54,8 +54,11 @@ public void initializeItems() { /// NAV MENU (RIGHT SIDE) // Vanilla Server inv.setItem(12, createGuiItem(Material.GRASS_BLOCK, "§aSurvie Vanilla", "§7Cliquez pour rejoindre le serveur Vanilla")); - // Modded Server - inv.setItem(13, createGuiItem(Material.REDSTONE_BLOCK, "§cSurvie Moddée", "§7Cliquez pour rejoindre le serveur Moddé")); + // Mini-games + // Sumo + inv.setItem(21, createGuiItem(Material.SLIME_BALL, "§aSumo", "§7Cliquez pour rejoindre lancer une partie de Sumo")); + // Rush + inv.setItem(22, createGuiItem(Material.RED_BED, "§aRush", "§7Cliquez pour rejoindre lancer une partie de Rush")); } // Nice little method to create a gui item with a custom name, and description @@ -106,10 +109,6 @@ public void onInventoryClick(final @NotNull InventoryClickEvent e) { p.performCommand("join vanilla"); p.closeInventory(); } - case 13 -> { - p.performCommand("join modded"); - p.closeInventory(); - } } } } \ No newline at end of file From f38396366602f6fd43067c161a0b3aca6a8ee0b7 Mon Sep 17 00:00:00 2001 From: DocSystem <42613513+DocSystem@users.noreply.github.com> Date: Mon, 5 Dec 2022 15:55:26 +0100 Subject: [PATCH 2/2] Bump version to 1.1.1 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index a2795e4..869df01 100644 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,7 @@ plugins { } group = 'fr.efreicraft' -version = '1.1.0' +version = '1.1.1' compileJava.options.encoding = 'UTF-8'