Skip to content

Commit

Permalink
Fix Analyse initialisation on first boot
Browse files Browse the repository at this point in the history
  • Loading branch information
heychazza committed Sep 11, 2023
1 parent 692f010 commit cdce061
Show file tree
Hide file tree
Showing 2 changed files with 3 additions 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 = "net.analyse"
version = "2.0.9"
version = "2.0.10"

subprojects {
plugins.apply("java")
Expand Down
4 changes: 2 additions & 2 deletions bukkit/src/main/java/net/analyse/plugin/AnalysePlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ public void onEnable() {
floodgateHook = new FloodgateHook();
}

morePaperLib = new MorePaperLib(this);

// Load modules.
try {
Class.forName("org.bukkit.event.server.ServerLoadEvent");
Expand All @@ -196,8 +198,6 @@ public void onEnable() {
getScheduler().globalRegionalScheduler().runDelayed(this::loadModules, 1);
}

morePaperLib = new MorePaperLib(this);

if(isSetup()) {
sdk.sendTelemetry().thenAccept(telemetry -> {
debug("Sent telemetry data.");
Expand Down

0 comments on commit cdce061

Please sign in to comment.