Skip to content

Commit

Permalink
Fix setup
Browse files Browse the repository at this point in the history
  • Loading branch information
heychazza committed Apr 4, 2024
1 parent a18c4d6 commit d48d3f0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
defaultTasks("clean", "shadowJar")

group = "io.tebex.analytics"
version = "2.2.1"
version = "2.2.2"

subprojects {
plugins.apply("java")
Expand Down
2 changes: 0 additions & 2 deletions bukkit/src/main/java/io/tebex/analytics/AnalyticsPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,6 @@ public void onEnable() {
// Check if the server has been set up.
if (config.getServerToken() != null && !config.getServerToken().isEmpty()) {
sdk.getServerInformation().thenAccept(serverInformation -> {
if(! isSetup()) return;

log("Connected to " + serverInformation.getName() + ".");
configure();
}).exceptionally(ex -> {
Expand Down

0 comments on commit d48d3f0

Please sign in to comment.