Skip to content

Commit

Permalink
Update ReconnectListener.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt-MX authored Feb 13, 2025
1 parent c2efcaa commit 5125a62
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/com/mattmx/reconnect/ReconnectListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ public void onChooseInitialServer(@NotNull PlayerChooseInitialServerEvent event)
server.ping().get();
} catch (Exception failure) {

if (plugin.getConfig().debug) {
failure.printStackTrace();
}

if (plugin.getConfig().notAvailable) {
plugin.getProxy()
.getScheduler()
Expand Down

0 comments on commit 5125a62

Please sign in to comment.