Skip to content

Commit

Permalink
Add event handler to new buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
DocSystem committed Dec 5, 2022
1 parent 621411e commit 7c8c71f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main/java/fr/efreicraft/eclobby/listeners/MenuGUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,14 @@ public void onInventoryClick(final @NotNull InventoryClickEvent e) {
p.performCommand("join vanilla");
p.closeInventory();
}
case 21 -> {
p.chat("/queue sumo");
p.closeInventory();
}
case 22 -> {
p.chat("/queue rush");
p.closeInventory();
}
}
}
}

0 comments on commit 7c8c71f

Please sign in to comment.