Skip to content

Commit

Permalink
fix issue ECATUP #14
Browse files Browse the repository at this point in the history
  • Loading branch information
Niilyx committed Oct 28, 2022
1 parent 5b5d9c7 commit 0c24e24
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/fr/efreicraft/ecatup/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ public void onDisable() {
.setColor(java.awt.Color.decode("#ffffff"))
.setFooter("Efrei Craft", "https://efreicraft.fr/img/favicon.png")
);

for (Player player : Bukkit.getOnlinePlayers()) {
sendPlayerToServer(player, "lobby");
}

try {
webhook.execute();
} catch (IOException ignored) {}
Expand Down

0 comments on commit 0c24e24

Please sign in to comment.