Skip to content

Commit

Permalink
Move onLoad to initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
LadyCailin committed Mar 21, 2024
1 parent 42e7776 commit 82a1cd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,6 @@ public void run() {
};
loadingThread.start();

ExtensionManager.OnLoad();

myServer = BukkitMCServer.Get();

// Build dynamic enums
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,8 @@ public static void Initialize(ClassDiscovery cd) {
} catch (Throwable e) {
// Prefs weren't loaded, probably caused by running tests.
}

OnLoad();
}

/**
Expand Down

0 comments on commit 82a1cd0

Please sign in to comment.